LPM: Net::FTP question

John Gibson jgibson at lexmark.com
Thu Aug 22 07:48:01 CDT 2002


Hello all,

I am having a problem with a program that mirrors an ftp site. I am using the
Net::FTP module but I keep running into these timeout situations. Does any one
know how to recover from these timeouts. It keeps dieing on me and I do not
get a chance to resume the get of that file. If there was a way I could short
circuit the timeout so that it did not die and just returned with a error code
that would suffice. Thanks in advance for any help.

Error message:
DEBUG: (main::125)                    Checking for SRPMS/kernel-2.4.18-10.src.rpm
Getting /users/gibson/tmp/mirror/SRPMS/kernel-2.4.18-10.src.rpm from /7.3/en/os/SRPMS/kernel-2.4.18-10.src.rpm on host 216.148.218.204
Attempting to start download of /7.3/en/os/SRPMS/kernel-2.4.18-10.src.rpm(Attempt->1)
Timeout at /usr/lib/perl5/vendor_perl/5.6.1/Net/FTP.pm line 470

-- 
John Gibson jgibson at lexmark.com
Pinky, are you pondering what I am pondering?
I think so Brain, poit, but where do you stick the feather and call it
macaroni?




More information about the Lexington-pm mailing list