@files=$ftp->dir;You're already getting the list of files here. So all you need to do is see loop through the list, see if the file matches your test, and if not, just skip to the next file.
foreach (@files) { next unless /Monk/; print "$_\n"; # do something with $ftp->get... I presume }
In reply to Re: FTP Grep?
by bart
in thread FTP Grep?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |