Re: FTP.pm - timeout error?

Graham Barr (bodg@tiuk.ti.com)
Thu, 14 Mar 96 07:02:44 GMT


Stephen M Beckstrom-Sternberg <sbeckstr@rapd.gig.usda.gov> writes:
>I am using FTP.pm (Net-FTP-1.15b), and Perl5.0002.  It works nicely,
>but I am having trouble setting my own timeout, rather than leaving it
>at the sometimes rather lengthy default of 120.
>
>When I do the following it works fine:
>
>	$ftp = Net::FTP->new($thaturl)
>
>However, when I try to set a timeout, as per my understanding of the
>instructions in FTP.pm it bombs:
>
>$ftp = Net::FTP->new($thaturl,Timeout=>60)
>
>
>What am I doing wrong?

Nothing from what I can see. Can you try 

$ftp = Net::FTP->new($thaturl,Timeout => 60, Debug => 1);

and send me the results

Regards,
Graham.


--
Graham Barr <bodg@tiuk.ti.com>
Texas Instruments Ltd.