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 ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-20 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found