> Howdy:
Howdy
>
> I'm looking for information that will let me
> open an ftp connection and grep / search
> for files and then FTP them back to me.
>
Yout can use the ls function to get an array of file names in that folder and grep the
names.
Unless you have a unique ftp server on the remote server I know of no standard ftp
commands to grep the contents of files while they are on the other server.
So you can - grep the filename list
- Get the file contents locally and search through their contents
(probably too much trouble)
You might look into Net::Telnet, then you can log on the the server and issue a
grep/grep like command as if you were actually on the command line, ( Well err since
you technically are) and then once said file is found ftp it to your server or do
whatever.
HTH
DMuey
> I saw something about FTP and macros, but
> the other articles about Net::FTP got me to
> believe you can do this with Perl. If so,
> is Net::FTP the route the go?
>
> Is this possible?
>
> Thanks!
>
> -X
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]