PHP Uploads

Revision as of 16:34, 21 February 2023 by HansR (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.