Downloading Large Numbers of Files Using the Command Line Tool

The file download tool is available in FileCloud 21.2 and later.


The most efficient way to download large numbers of files at once is through FileCloud's file download tool.

The tool is filedownloader.php and is located in C:\xampp\htdocs\resources\tools\fileutils

PHP should be installed on the system on which the tool is run.

To download files using the tool:

  1. Create an ini file for the tool, for example, C:\tool\downloadfiles.ini, with the parameters in the following example and your own values replacing the values on the right. 
    The path that contains the files to be downloaded is cloudpath, and the path where the files will be downloaded is destpath
    Set disablefilelogging to true to avoid creating an overly large log file.

    username=tester
    password=qwerty123
    serverurl=https://myserver.com
    cloudpath=/tester/downloads
    destpath=C:\samplefiledownloads
    disablefilelogging=true


  2. Enter the following commands to run the tool:

    cd C:\xampp\htdocs\resources\tools\fileutils
    C:\xampp\php\php.exe filedownloader.php --ini C:\tool\downloadfiles.ini

    Note that this tool can be copied to any remote location and run. It does not require FileCloud to be present on the same system that the tool is run on.