PHP initiating an FTP protocol file upload?
Posted on 2007-04-10
Using PHP code, I wrote a program that will upload files to a webserver based on a browsed, local file reference. If I upload a large file it can take 4 hours. However, if I use an FTP client, it takes 10 minutes. Now, I understand that FTP protocol is faster than PHP with forms, but is there a way, using PHP code to initiate and upload a file using an FTP protocol? I want my PHP program to be as fast as an FTP client.
If it's possible-- does anyone have some sample code I could use?
thanks a ton