files-upload
Upload Describe files to the database.
The user copies the files to upload in the _uploads directory,
puting them inside a folder, gives that relative path to the function,
and the files get uploaded to the database.
For example, user that runs : php spark.php file-upload "files-1"
will get those files in the database
Command Syntax
files-upload [PRESENTATION_FLAGS]
PRESENTATION_FLAGS - common presentation flags for the SparkCli.
For more info on presentation flags, check the Presentation flags manual.
Examples
php spark.php files-upload "uploads-1"
Upload files to the database.
php spark.php files-upload "uploads-1" theme=DEFAULT
Upload files to the database, with presentation flags.
php spark.php files-upload "uploads-1" -hb theme=DEFAULT
Upload files to the database, with presentation flags.
php spark.php files-upload "uploads-1" -auto -hb theme=DEFAULT
Upload files to the database, with presentation flags.