Fetch Describe files from the database. Save those files to the _downloads folder of the SparkCli, creating a new folder with a timestamp for the result of the execution.

For example, user that runs : php spark.php files-download
will get a folder with a file : _downloads\20260706-221700-file-download, full of .ds files

Command Syntax

files-download [max=INT][PRESENTATION_FLAGS]
max - The number of the maximum files to download.
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.

Examples

php spark.php files-download
Download all the raw files from the database.

php spark.php files-download max=10
Download the first 10 files in the database.

php spark.php files-download theme=DEFAULT
Download all the raw files from the database, with presentation flags.

php spark.php files-download -hb theme=DEFAULT
Download all the raw files from the database, with presentation flags.

php spark.php files-download -auto -hb theme=DEFAULT
Download all the raw files from the database, with presentation flags.

Back