Hi, Lets set it to 200 secs
use Net::FTP; my $ftp = new Net::FTP(hostnale,Timeout => 200); ... ----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2007 5:33:30 PM (GMT+0200) Auto-Detected Subject: How to set FTP module time out? I see default time out is 120, in seconds I assume. How would I change this within a perl script? Problem is, when the deomon is locked up, it just sits there, so I want to shorting this so the script jumpts out and doesn't sit there forever. Thanks. http://search.cpan.org/~gbarr/libnet-1.20/Net/FTP.pm -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/