1838727 Members
6488 Online
110129 Solutions
New Discussion

FTP command

 
SOLVED
Go to solution
Nikee Reddy
Regular Advisor

FTP command

Hello,

Is there any similar command in FTP mode like
ls | grep dw ???

Thanks,
Nikee
2 REPLIES 2
Scott Palmer_1
Trusted Contributor
Solution

Re: FTP command

Nikee,

You can do an ls dw* in ftp, but not the grep function. ftp has very limited functionality as to what you can do inside the ftp shell.

Regards,
Scott Palmer
A. Clay Stephenson
Acclaimed Contributor

Re: FTP command

No, you would have to capture the entire ls output and then grep it on your client end.

This would be trivially easy using Perl's Net::FTP module.
If it ain't broke, I can fix that.