FTP using command line in Windows XP

I'm trying to FTP using command line, I'm able to connect and login to the outside server.  However, when I try to type dir for the directory, that's where my session hangs.  I get a message 150 File status okay;  about to open data connection.  At first I thought may be the windows firewall blocking something, so  I opened all the ports on the windows firewall and even made ftp.exe as an exception program.  None of these worked.  Then I read something about Passive FTP, the bottom line I still have an issue.  One more thing I want to mention, if I use filezilla or other applications, everything works successfully.
kouts1Asked:
Who is Participating?
 
kouts1Author Commented:
They are all open and unfortunatelly still not working
0
 
jpquonceCommented:
once you are connected try
quote PASV

or

literal pasv

and see if that puts it in passive mode for you.
0
 
C-ShadowsEngineer - SupportCommented:
Passive  mode is not supported in XP...


So use this alternative command-line FTP program, which is much more full-featured.
Do a ? at the ftp> prompt, and you will see the options.
The command you need to issue is PASV.

ftp://ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip

Might Help...

0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
C-ShadowsEngineer - SupportCommented:
The command-line version of FTP in XP does not support passive mode
0
 
kouts1Author Commented:
I tried to enter literal pasv. I enter to Passive mode, however when I type dir, I get 150 message again
0
 
kouts1Author Commented:
C-Shadows, I tried to use ftp.exe for Win32, but when I connect it doesnt give me the prompt to enter my user name and password. Then   I get an error, it's not connected.
0
 
C-ShadowsEngineer - SupportCommented:

150  
File status okay, about to open data connection.  FTP uses  two ports: 21 for sending commands, and 20 for sending data. A status code of  150 indicates that the server is about to open a new connection on port 20 to  send some data.
0
 
C-ShadowsEngineer - SupportCommented:
And make sure whether 20,21 and 25 ports are open.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.