PHP Uploads: Difference between revisions

98 bytes added ,  17:28, 7 March 2023
Line 32: Line 32:
* It reduces bandwidth.
* It reduces bandwidth.
:* Unlike FTP which uploads the whole file each time, the PHP upload can send incremental data. For the default web site, most the data is the graph files and every update each entire file is sent over FTP every time just to add one new data point. Using the PHP upload, just that new data point is sent for each file, and the PHP script appends it to the existing file on your server.
:* Unlike FTP which uploads the whole file each time, the PHP upload can send incremental data. For the default web site, most the data is the graph files and every update each entire file is sent over FTP every time just to add one new data point. Using the PHP upload, just that new data point is sent for each file, and the PHP script appends it to the existing file on your server.
:* If any updates fail, then only the cumulative data since the last successful transfer is sent.
:* It uses data compression over the network
:* It uses data compression over the network