Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: FTP Script

by pc88mxer (Vicar)
on Jul 28, 2008 at 21:19 UTC ( #700661=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub mput { my($ftp,$pattern) = @_; foreach my $file (glob($pattern)) {
    + $ftp->put($file) or warn $ftp->message; } }
    
    sub mget { my($ftp,$pattern) = @_; foreach my $file ($ftp->ls($pattern
    +)) { $ftp->get($file) or warn $ftp->message; } }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2020-07-02 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?