
ftp上傳批處理一直出錯請朋友們指教需要用批處理把H盤下的666.rar文件上傳到FTP的111目錄下,為什么批處理只能執(zhí)行到登陸上FTP,但為什么不能上傳文件呢?FTP服務(wù)軟件為FileZilla Server,批處理win10下執(zhí)行,ftp客戶端軟件上傳meiwt。請朋友們幫忙指點一下。批處理如下:
執(zhí)行過程如下:ftp> open 121.48.139.217連接到 121.48.139.217。220 歡迎登陸!530 Please log in with USER and PASS first.用戶(121.48.139.217none)):331 Password required for 123230 Logged onftp> cd 111250 CWD successful. /111 is current directory.ftp> binary200 Type set to Iftp> put h:66.rar200 Port command successful150 Opening data channel for file upload to server of /111/66.rar -----卡在這一步了nclick="copycode($('code0'));">復(fù)制代碼
- @echo off
- echo open 121.48.139.217 >11.txt
- echo 123>>11.txt
- echo 123456>> 11.txt
- echo cd 111 >> 11.txt
- Echo binary>>11.txt
- Echo put h:66.rar >> 11.txt
- Echo bye>>11.txt
- FTP -s:11.txt

