Question : vsftpd interesting problem

I have vsftpd running on RHEL5.4  My issue is that my windows command line cannot list the directory....  if i use another linux machine it works fine, or if i use a program called "core ftp" from windows it also works fine... so what is up with windows command line?  i have tried a bunch of commands like "pasv" "quote pasv" "port" "ls" "dir" observe below....i hope this is not a ID.10t error on my part lol  Thanks!

ftp> quote pasv
227 Entering Passive Mode (192,168,1,18,210,191)
ftp> dir
500 Illegal PORT command.
425 Use PORT or PASV first.
ftp> ls
425 Use PORT or PASV first.
ftp>

Answer : vsftpd interesting problem

It turns out that the ftp.exe program shipped with windows XP does not support passive mode on the client side. I have not been able to find out if Vista supports it or not, but since XP did not support it I'd suspect that Vista does not either. Here is one of the sources that I found confirming this:

http://www.iss.net/security_center/advice/Services/FTP/PASV/default.htm

Also, in order to get passive mode working for vsftpd you need to open port 1024 in your firewall. The link below shows the iptable configurations that you may need:

http://www.cyberciti.biz/faq/iptables-passive-ftp-is-not-working/

If I find more information on the ftp.exe in Vista I'll post again.
Random Solutions  
 
programming4us programming4us