LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Recursively listing files over FTP? (http://www.linuxquestions.org/questions/linux-software-2/recursively-listing-files-over-ftp-241964/)

overbored 10-12-2004 11:07 PM

Recursively listing files over FTP?
 
How do I obtain a complete recursive listing of all the files (under a directory) over FTP? I'm guessing there's no standard FTP command to do that, but surely there must be some way to index all the files on a server or under a directory on a server (without turning to a FTP search engine)? It would be nice if this list also included details like filesizes, attributes, etc. I thought that wget might have something like this, but I don't know how to tell it not to download files, just indices. Thanks in advance.

crabboy 10-12-2004 11:16 PM

No way that I know of with the standard ftp client.

The ncftp client can do recursive listings like, ls -lR, it will even do recursive gets and puts. It's a great client and well worth installing, if you don't have it installed already.

darthtux 10-12-2004 11:37 PM

Must be something wrong with my ftp client cause I can display recursive directory listings with ls -lR ;)

crabboy 10-13-2004 12:51 AM

huh... Staring to show my age. Looks like it does work.

crabboy 10-14-2004 01:12 PM

Still will not get -R though.


All times are GMT -5. The time now is 07:52 PM.