in reply to Re^2: How to FTP with Timeout?
in thread How to FTP with Timeout?

Try the option TimeOut in the constructor. By default this option will take as 120 check the link "http://perldoc.perl.org/Net/FTP.html"

use Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 0, Timeout => 300); $ftp->login("anonymous",'-anonymous@'); $ftp->cwd("/pub"); $ftp->get("that.file"); $ftp->quit;