singlestoredb.management.files.FileSpace.download_folder

FileSpace.download_folder(path: str | PathLike[str], local_path: str | PathLike[str] = '.', *, overwrite: bool = False) None

Download a FileSpace folder to a local directory.

Parameters:
  • path (Path or str) – Directory path

  • local_path (Path or str) – Path to local directory target location

  • overwrite (bool, optional) – Should an existing directory / files be overwritten if they exist?