Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Net::FTP::Recursive rget

by jethro (Monsignor)
on Aug 12, 2008 at 10:59 UTC ( [id://703861]=note: print w/replies, xml ) Need Help??


in reply to Net::FTP::Recursive rget

I think your rget doesn't need a ParseSub parameter, that is an optional parameter to provide your own directory parse function.

As far as I can see, Net::FTP::Recursive provides no method to only get some files of a directory, it just slurps everything that is in and under the current directory.

If you don't mind getting everything from that directory instead of only the ones you want, you just call rget without parameter. Otherwise you either have to read the current directory yourself and change to the directories you want or use a different module

Log In?
Username:
Password:

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

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

    No recent polls found