Directory$download
Last updated
Was this helpful?
Downloads files associated with the directory to the specified at path.
path : str, default getwd()
The path of the directory to download files. Will automatically create the directory if it doesn't exist. If not specified, defaults to the current working directory.
overwrite : bool, default FALSE
Whether to overwrite any existing files when downloading. If FALSE, will throw an error if a file with the same name already exists at the provided path, unless if the file is a duplicate.
max_results : int, default NULL
If specified, will only download up to max_results files
progress : bool, default TRUE
Whether to show progress bar.
max_parallelization : int, default NULL
The maximum number of threads to use to download files. If unset (recommended), will be determined dynamically based on the number of files, their size, and available cores on your machine.
max_concurrency : int, default NULL
The maximum total concurrency when downloading files. Should be higher than max_parallelization, as multiple files are downloaded concurrently per thread. If unset (recommended), will be determined dynamically based on the number of files, their size, and available cores on your machine.
void
Last updated
Was this helpful?
Was this helpful?

