Sep 1, 2000, 7:59 AM
Post #1 of 1
I have a script that automates the transfer of files. It is run under cron. The FTP put operation failed (for some reason, we had to start using passive mode).
My problem is that the script appeared to have timed out. I am assuming this because the e-mail that should have went out, didn't.
Any insights would be appreciated.
The code uses Net::FTP and in included below.
if ($ftp->code != 226)
$main::status = "Script failed!\n";
$main::reason = $ftp->message;