From the Windows command prompt, I have FTPd to a Windows web server. I can
get a file, and I can see a directory listing with
dir, but I want to save that list locally.
dir > c:\somefile.txt, and the file is created, but it's blank. Same thing if I do
ls > c:\somefile.txt.
The result is the same when I FTP from a Linux box.
FTP sends back the following:
200 PORT command successful 150 Opening ASCII mode data connection for /bin/ls 226 Transfer complete