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 to increase FTP_TIMEOUT (the default value is 90)
FTP_TIMEOUT
ftp_set_option($conn_id, FTP_TIMEOUT_SEC, 180);
It worked perfectly for me.
http://www.php.net/manual/en/function.ftp-set-option.php