thats a cunning stunt i also discovered ~/.ncftp/trace* which seems to track the session, and is greppable :-)
On Tue, 04 Nov 2003 15:04:04 +1300 Rex Johnston <[EMAIL PROTECTED]> wrote: > 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. > > ~ % ncftp kernel > NcFTP 3.1.1 (Dec 23, 2001) by Mike Gleason ([EMAIL PROTECTED]). > Connecting to 202.49.159.10... > > Service ready for new user. > Logging in... > > User logged in, proceed. > Command not implemented. > > Logged in to ftp.nz.kernel.org. > > Current remote directory is /pub/linux/kernel/v2.4. > ncftp /pub/linux/kernel/v2.4 > set pager 'cat > /tmp/pg.out' > ncftp /pub/linux/kernel/v2.4 > pls -lR > ncftp /pub/linux/kernel/v2.4 > > ~ % ls -l /tmp/pg.out > -rw-r--r-- 1 rex rex 19K Nov 5 00:29 /tmp/pg.out > > > Rex > -- Nick Rout <[EMAIL PROTECTED]>
