I\'m trying to write a script that will download files from an FTP server. They\'re all fairly large (nearly 2GB each). The script starts running, but then eventually term
Try using ftp_close and ftp_connect as to reset your FTP connection.
ftp_close
ftp_connect
I had spent a good day on this one, trying everything I could find (ftp_pasv, ftp_alloc, changing to FTP_ASCII/FTP_BINARY), with no success.
Some servers have limits on how much you can upload per session.