Skip to main content

Downloading Files and Folders

Use the CLI App to download files and folders from your Files.com site. Downloads work from any folder, including those located within Remote Server Mounts.

To download a file, use the command:

files-cli download /remote/path/to/file.txt /local/path/to/file.txt

or

files-cli download /remote/path/to/file.txt /local/path/to/folder/

To download a folder, use the command:

files-cli download /remote/path/to/folder/ /local/path/to/folder/

Limiting File Chunking

The download operation breaks each file into multiple pieces, or chunks, and transfers those chunks in parallel to speed up the transfer.

Chunking speeds up transfers, but some remote systems don't support it, which can cause failed or partial transfers.

If you have problems downloading files from a Files.com folder stored on a Remote Server Mount, disable chunking with the --download-files-as-single-stream flag.

files-cli download /remote/path/to/folder/ /local/path/to/folder/ --download-files-as-single-stream

The --download-files-as-single-stream flag makes the download slower but more resilient when downloading from a Remote Server Mount folder.

Viewing Connection Information

To see connection information — the number of open data connections, the number of open API connections, and the network throughput — use the --connection-metrics flag.

files-cli download /remote/path/to/folder/ /local/path/to/folder/ --connection-metrics