in reply to Re^3: FTP Grep?
in thread FTP Grep?

... then describing your requirements as "grep" is misleading.

I wouldn't say so. IMHO, the OP clearly indicated that s/he wanted to grep the fileNAMES.

There lies some irony that for filtering the filenames, grep is likely be used.

you would use the FTP command mget monk*, but Net::FTP doesn't seem to support that

It halfway does. You have the member function cmd which, as I understand, can be used to issue any FTP command, and you can use supported to see whether a particular command is supported by the FTP server.

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^5: FTP Grep?
by BrowserUk (Patriarch) on Aug 06, 2009 at 09:29 UTC
    There lies some irony that for filtering the filenames, grep is likely be used.

    You're right--if the "grep" in question is grep, and not grep.

    The real irony here is that I, an avowed 'doesn't do *nix' man, assumed the latter rather than the former, when I read the title!


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.