Just discovered the FTP functions in PHP.
I've written upload scripts using HTTP before
(i.e. copy($_FILES['img1']['tmp_name'], "../upload/" .$_FILES['img1']['name']) or die("could not copy the file.");
which has no problem other than speed. I've found that a file uploaded with a DSL connection will usually take a MB a minute.
I know that regular FTP using an FTP client uploads files much faster.
So my question is: Will a PHP script that executes the ftp_put function upload FTP speed?
I've written upload scripts using HTTP before
(i.e. copy($_FILES['img1']['tmp_name'], "../upload/" .$_FILES['img1']['name']) or die("could not copy the file.");
which has no problem other than speed. I've found that a file uploaded with a DSL connection will usually take a MB a minute.
I know that regular FTP using an FTP client uploads files much faster.
So my question is: Will a PHP script that executes the ftp_put function upload FTP speed?