Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Net::FTP

by pinetree (Scribe)
on Dec 29, 2002 at 04:30 UTC ( [id://222848]=note: print w/replies, xml ) Need Help??


in reply to Re: Net::FTP
in thread Net::FTP

Or, if you want to attempt to put/get all of your files - store the errors in a scalar or array and die/log them after looping through @files:
my @errors = (); foreach my $file (@files) { # Or get... $ftp->put($file) or push (@errors, ("Error putting $file: " . $ftp +->message)); } die (join "\n", @errors);

Replies are listed 'Best First'.
Re^3: Net::FTP
by Anonymous Monk on May 20, 2008 at 22:22 UTC
    How do you define @files?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-23 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found