file-download
Fetch a single file from the database.
Save that file 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 file-download "root.name"
will get a folder with a file : _downloads\20260706-221700-file-download\root.name.ds
Command Syntax
file-download FILE_NAME [PRESENTATION_FLAGS]
FILE_NAME - The name of the raw source file in the database to be downloaded
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.
Examples
php spark.php file-download "root.name"
Download a file
php spark.php file-download "root.name" theme=DEFAULT
Download a file with presentation flags
php spark.php file-download "root.name" -hb theme=DEFAULT
Download a file with presentation flags
php spark.php file-download "root.name" -auto -hb theme=DEFAULT
Download a file with presentation flags