A timeout question using Net::FTP
- From: Trudge <trudge@xxxxxxxxx>
- Date: Fri, 27 Jul 2012 19:13:52 -0700 (PDT)
I have a script to download files. It checks the remote and local directories, and downloads any new files from the remote location.
Here is part of my code:
my $ftp = Net::FTP->new
(
"ftp.xxx.yy",
Timeout => 3600,
Debug => 0
) or die "Could not connect: $@\n";
My question is, what units are the Timeout option in? The docs don't make it clear, and I'm guessing the units are seconds. Anyone have a definitive answer?
--
.
- Follow-Ups:
- Re: A timeout question using Net::FTP
- From: Ben Morrow
- Re: A timeout question using Net::FTP
- Prev by Date: Re: Linux, IO::Socket::INET and recv'ing broadcasted UDP
- Next by Date: I killed my own source.
- Previous by thread: Re: Linux, IO::Socket::INET and recv'ing broadcasted UDP
- Next by thread: Re: A timeout question using Net::FTP
- Index(es):