Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for your help.$ftp=Net::FTP->new($host,Timeout=>240) $ftp->login("login","password") $ftp->cwd($directory) # Here can i grep by the filename (same search for all files named Mon +k @files=$ftp->dir for each (@files) print "$_\n"; # Need to get the file here. I can print out the files }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: FTP Grep?
by bart (Canon) on Aug 06, 2009 at 09:59 UTC | |
by afoken (Chancellor) on Aug 08, 2009 at 17:47 UTC | |
by Anonymous Monk on Aug 11, 2009 at 10:47 UTC | |
|
Re: FTP Grep?
by BrowserUk (Patriarch) on Aug 06, 2009 at 06:54 UTC | |
by Anonymous Monk on Aug 06, 2009 at 07:24 UTC | |
by BrowserUk (Patriarch) on Aug 06, 2009 at 07:41 UTC | |
by rovf (Priest) on Aug 06, 2009 at 08:00 UTC | |
by BrowserUk (Patriarch) on Aug 06, 2009 at 09:29 UTC |