?
Solved

FTP using command line in Windows XP

Posted on 2009-04-21
8
Medium Priority
?
286 Views
Last Modified: 2012-05-06
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.
0
Comment
Question by:kouts1
  • 4
  • 3
8 Comments
 
LVL 6

Expert Comment

by:jpquonce
ID: 24194379
once you are connected try
quote PASV

or

literal pasv

and see if that puts it in passive mode for you.
0
 
LVL 7

Expert Comment

by:C-Shadows
ID: 24194487
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
 
LVL 7

Expert Comment

by:C-Shadows
ID: 24194502
The command-line version of FTP in XP does not support passive mode
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:kouts1
ID: 24195071
I tried to enter literal pasv. I enter to Passive mode, however when I type dir, I get 150 message again
0
 

Author Comment

by:kouts1
ID: 24195238
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
 
LVL 7

Expert Comment

by:C-Shadows
ID: 24195776

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
 
LVL 7

Expert Comment

by:C-Shadows
ID: 24195824
And make sure whether 20,21 and 25 ports are open.
0
 

Accepted Solution

by:
kouts1 earned 0 total points
ID: 24197243
They are all open and unfortunatelly still not working
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question