PHP Uploads: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
(Created page with "In february 2023 for version 3.24.0 a PHP upload was introduced. Although this is not over FTP (it uses the HTTP(S) protocol with SSL) as file transfer it is described here. If the ''Upload.php'' is installed for CMX and the protocol works for CMX then it will also work for CUtils and the file locations will be relative to the location of the ''Upload.php'' procedure (which therefore will be the rootlocation of your website). All files will be transferred relative to tha...")
(No difference)

Revision as of 16:34, 21 February 2023

In february 2023 for version 3.24.0 a PHP upload was introduced. Although this is not over FTP (it uses the HTTP(S) protocol with SSL) as file transfer it is described here. If the Upload.php is installed for CMX and the protocol works for CMX then it will also work for CUtils and the file locations will be relative to the location of the Upload.php procedure (which therefore will be the rootlocation of your website). All files will be transferred relative to that location. You can go deeper and sideways into the directory tree but not below.

The Upload.php procedure file can be copied to any location you wish but the following CMX inifile parameters determine its operation and need to reflect its true location and CMX configuration (in case you are running more than one instance):

 PHP-URL=<URL>
 PHP-Secret=<key as configured in CMX>

The PHP upload procedure makes use of compression (zip or deflate) and will upload data incrementally. It therefore is faster and uses much less bandwidth than true FTP and SFTP protocols.