Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2014-08-22 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls