I was uploading a file to an external FTP server. The server uses SERVER-U.
If I access the FTP through IE, I can delete and write anything on it.
Now I want to use the FTP command under cmd to upload files automatically.
Below is the content of get.txt:
open 218.85.119.28
123
123
ascii
put d:\123.rar ;the size is only 100K
bye
cmd command: ftp -s get.txt
But when it gets to put d:\123.rar, it just keeps running, yet it can't upload to the server no matter how long I wait.
Displayed message:
150 Opening ASCII mode data connection for 123.rar.
Now I just can't figure it out at all. I don't know whether there's a problem with the server settings or whether the client needs some setting. Please help me take a look and solve this for me. Thanks in advance!
If I access the FTP through IE, I can delete and write anything on it.
Now I want to use the FTP command under cmd to upload files automatically.
Below is the content of get.txt:
open 218.85.119.28
123
123
ascii
put d:\123.rar ;the size is only 100K
bye
cmd command: ftp -s get.txt
But when it gets to put d:\123.rar, it just keeps running, yet it can't upload to the server no matter how long I wait.
Displayed message:
150 Opening ASCII mode data connection for 123.rar.
Now I just can't figure it out at all. I don't know whether there's a problem with the server settings or whether the client needs some setting. Please help me take a look and solve this for me. Thanks in advance!


