Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How do I make Net::FTP use wildcards

by fauria (Deacon)
on May 31, 2005 at 16:57 UTC ( [id://462227]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to How do I make Net::FTP use wildcards

I dont know if this is optimal, but you can get a list of files using ls, and then download them all:
use Net::FTP; my $ftp = Net::FTP->new("atd77.acs.org", Debug => 0); $ftp->login("foo",'bar'); my @file_list = $ftp->ls(); foreach (@file_list) { $ftp->get($_); }

Replies are listed 'Best First'.
Re^2: How do I make Net::FTP use wildcards
by rzs96 (Acolyte) on Jun 01, 2005 at 09:50 UTC
    Hey Fauria, thanks! Your solution I believe did the trick! Etm177's solution is probably more sophisticated, and if I run into any further challenges, I may use his mask, or else persuade the boss to install FTP::Recursive.
    This is really an amazing site, I love the quick responses, and know there are cool people here.
    Cheers!
    Robert

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://462227]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.