Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Retrieving a list of Specific Files from FTP

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

in reply to Retrieving a list of Specific Files from FTP

Item: M151 Picture name on server: Aficionado_M151_PHOTO1.jpg
Are you using Net::FTP?

Replies are listed 'Best First'.
Re^2: Retrieving a list of Specific Files from FTP
by whoops (Initiate) on Sep 05, 2013 at 00:24 UTC
    Yes i am.
      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.

        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://1052462]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2018-02-18 00:19 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (250 votes). Check out past polls.