Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Retrieving a list of Specific Files from FTP

by runrig (Abbot)
on Sep 05, 2013 at 00:41 UTC ( #1052464=note: print w/replies, xml ) Need Help??

in reply to Re^2: Retrieving a list of Specific Files from FTP
in thread Retrieving a list of Specific Files from FTP

Then use ls() to list the files and get() to download them...or if you already have a list of files to get, then just get() them...and as far as grep goes, are you referring to command line grep, or perl grep? You really don't need to use the command line grep...I can see maybe using grep though...

You may have to show some minimum amount of code to show what you're having trouble with.

  • Comment on Re^3: Retrieving a list of Specific Files from FTP

Replies are listed 'Best First'.
Re^4: Retrieving a list of Specific Files from FTP
by whoops (Initiate) on Sep 05, 2013 at 07:31 UTC

    Ill work on putting together the latest bit of code for everybody to look at. Problem is i butchered it so much trying to figure this out there isnt a good example left lol...

    I was using perl grep. I guess the real problem i am having is inconsistencies. For example i can put together a list of file names that i need to get but if there is even the slightest inconsistency ftp kicks me out or the search function returns undesirable data...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052464]
[Corion]: I think there's always some Dell coupon around, at least I got one the last two times I bought a machine from them
[1nickt]: I have been an apostate in the Apple orchard for almost 15 years. But Dells are still high quality it seems, unlike Macs these days.
[1nickt]: And you can still configure the system at will, on the "Small Business" site.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2017-03-27 12:58 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.