Nick Rout wrote:
I am using ncftp, although any method anyone wants to point me to will
do,

I need to get the output of ls -lR on the remote ftp server, and store
it for parsing (I am searching for a file somewhere in a big dir tree).

typing ls -lR at the ncftp prompt gives me the data I want, but it
doesn't seem to be redirectable or greppable.

what to do?

Use expect to automate the ftp session, or python's ftp-access library to do the same. Either way, you'll be doing programming.


Cheers,
Carl.




Reply via email to