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-07-25 08:43
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » When uploading files via FTP, unable to log in View 1,728 Replies 0
Original Poster Posted 2018-01-08 16:21 ·  中国 北京 联通
新手上路
Credits 4
Posts 1
Joined 2018-01-06 12:02
8-year member
UID 182610
Gender Male
Status Offline
The code you provided is a batch script for FTP operations. Here is the translation:

Echo open IP >ftp.up
Echo usename >>ftp.up
Echo password >>ftp.up
Echo binary>>ftp.up
Echo put "a.txt">>ftp.up
Echo bye>>ftp.up
FTP -s:ftp.up
Pause

But I need to point out that there's a typo in "usename", it should be "username". Also, the reason it might not log in could be due to issues like incorrect IP address, wrong username or password, or the server not being set up properly as expected even if it works locally.
Forum Jump: