Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS Hangs during FTP mput command

Status
Not open for further replies.

btalon

Programmer
Dec 16, 2002
144
US
I'm having intermittent problems with DOS on XP and the FTP command mput. DOS hangs when executing the mput command until the connection is teminated by the host. I don't see firewall or router issues blocking the request to the FTP server. The actual FTP server never receives the request to upload the file. Is there something else I should be checking or another way to test the command?
I have no problem copying a file via FTP using Internet Explorer to the same server. Any suggestions would be great.
 
What FTP client are you using? If the server is never seeing the request, something is dropping/blocking the request across your network. I say we start with FTP application and see if it uses any "special" protocols that may be, being dropped.
 
I'm not using a client. I am in DOS executing the commands manually.
 
Bleh...I'm apparently blind today, my apologies.

What, exactly, are the commands you're putting in prior to using the Mput command? If you could give us an example of all the commands typed (starting at logon), obviously leave out all sensative information.

Thanks!
 
ftp ftp.url.com
I enter username
I enter password
binary

I'm sitting in the directory where the file resides that I want to ftp. I then use:

mput JM*.us5

Then it asks to confirm the mput and I put "y".
Then it hangs there for a little bit, then gets dropped. I've checked the FTP server through other computers and other users and everything is working fine there.

One of our sales reps is the one trying to ftp from a remote location. I already looked on their computer and didn't find any firewall running (I'll have to check in the services to see if there is something running there.)
 
Just for kicks...lets try this command sequence.

ftp: ftp.url.com
user
password
binary
cd /(Remote drive to move files to)
lcd c:\(local path to files you're going to move)
mput * (provided you want to copy over the entire directory).

It's been a while since I've used DOS based FTP commands, so I apologize about taking this so slowly. I'm attempting to recall commands and doing some research to verify.
 
Still doesn't work. I never get the "200 Port command successful" message. Can anyone tell what the 200 port command is or does exaclty?
After the 200 Port command successful there is usually a "150 Opening data connection for 'the filename'" and I don't get that either.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top