singlestoredb.management.files.FileSpace.download_file¶
- FileSpace.download_file(path: str | PathLike[str], local_path: str | PathLike[str] | None = None, *, overwrite: bool = False, encoding: str | None = None) bytes | str | None¶
Download the content of a file path.
- Parameters:
- Returns:
bytes or str -
local_pathis NoneNone -
local_pathis a Path or str