China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 03:44
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Why can't I upload files at the CMD prompt? View 1,016 Replies 4
Original Poster Posted 2006-03-23 00:55 ·  中国 福建 厦门 电信
中级用户
Credits 283
Posts 31
Joined 2004-03-06 00:00
22-year member
UID 19334
Gender Male
Status Offline
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!
Floor 2 Posted 2006-03-23 18:51 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
Change ascii to bin.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 3 Posted 2006-03-23 21:13 ·  中国 福建 厦门 电信
中级用户
Credits 283
Posts 31
Joined 2004-03-06 00:00
22-year member
UID 19334
Gender Male
Status Offline
I tried that, it still didn't work!
Floor 4 Posted 2006-03-24 09:41 ·  中国 河北 石家庄 联通
铂金会员
★★★★
网络独行侠
Credits 6,962
Posts 2,753
Joined 2003-04-16 00:00
23-year member
UID 1565
Gender Male
From 河北保定
Status Offline
I think it's a problem with your FTP server. I tested it on my own FTP server, and everything was normal.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“这个帖子”和“这个帖子”并努力遵守,如果可能,请告诉更多的人!
Floor 5 Posted 2006-03-24 22:32 ·  中国 福建 厦门 电信
中级用户
Credits 283
Posts 31
Joined 2004-03-06 00:00
22-year member
UID 19334
Gender Male
Status Offline
Thanks, expert climbing! I'll check the server settings again.
Forum Jump: