This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to connect to redhat 4 from windows machine using ftp. I got the message "230 Login successful.". Then I try ls, dir commands, there I got the message as follows
ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. 226 Directory send OK. ftp> dir 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. 226 Directory send OK.
I wanted to list all the files, but it shows the message as shown above. As you suggested, I gave command "passive". It shows invalid command. What I can do to copy data from unix machine to windows machine using ftp.
Passive is an option, not a requirement. I think the common Linux FTP servers all support passive mode these days. I thought Windows FTP clients did, too, unless you're running an old client.
I believe Passive FTP requires some extra firewall configuration because it makes freer use of network ports, but you're better off googling for "passive ftp iptables" or something if you want an answer by somebody who actually knows.
An IDE is no substitute for an Intelligent Developer.