What would be the fastest way to recursively retrieve entire directory listing from an ftp server using wget/curl/whatever? I don't need to download any files, just directory and file names. Basically what
ls -R does.
The best I can do with wget is
Which will create empty directories containing a
You'll probably need to use a real ftp client like lftp: