Overview
Softaculous allows you to Download Scripts packages from command line.
Note : This has been added in Softaculous 6.1.7
Download Scripts
- Use the following command to Download scripts:
php /path/to/softaculous/cli.php --download_script --sid=26,413 --sp=1
E.g. for Webuzo :
/usr/local/emps/bin/php /usr/local/softaculous/cli.php --download_script --sid=26,413 --sp=1
E.g. for cPanel :
/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cli.php --download_script --sid=26,413 --sp=1
- That’s it. Scripts will be downloaded and saved.
Parameters
- In the above command the first parameter should be –download_script as this parameter will initiate the download script function.
- –sid=26,413 – This is the script id. You can enable a script or a number of scripts using comma separated list of script ids. 26 is for WordPress, 413 for Joomla, etc. You can find the script id in /path/to/softaculous/enduser/scripts.ser
- –sp=1 (Optional) – Pass 1 to download the full script package including zip and sql files or 0 to download small package i.e. without zip and sql files. Softaculous will download the full package when a user tries to install a script.
- –force=1 (Optional) – Pass this parameter to forcefully re-download the script package even if the package present on the server is latest. By default the package will be downloaded only if a new version of that script is available or the package does not exist.