CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Script Timeout?

 



Saint
Deleted

Sep 1, 2000, 7:59 AM

Post #1 of 1 (397 views)
Script Timeout? Can't Post

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.

Jim


$ftp->put($xmit_file1);

if ($ftp->code != 226)
{
$main::status = "Script failed!\n";
$main::reason = $ftp->message;
email_results();
exit();
}

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives