Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to catch Net::FTP timeouts ?

by cosimo (Hermit)
on Sep 24, 2004 at 12:18 UTC ( #393473=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    CONSTRUCTOR
           new (HOST [,OPTIONS])
    ...
               Debug - debug level (see the debug method in the
               Net::Cmd manpage)
               ...
    
  2. or download this
        my $ftp = Net::FTP->new( $myhost, Timeout => 10, Debug => 1 );
        ...
        $ftp->get($myfile) or warn("Can't get file $myfile");
        $ftp->quit();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://393473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-01-19 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?