Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

Comment on Re: Retrieving a list of Specific Files from FTP
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2015-10-07 01:34 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (169 votes), past polls