以下兩個文件放在同一目錄下
getfile.bat文件內容如下:
@echo offftp.exe -i -s:getfile.txt 192.168.1.2(更換成你的ip,參數之間有空格)pauseexit@echo off
getfile.txt文件內容如下
myaccount
mypassword
cd Abinlcd D:\TEMP
get A.exe
cd..
cd B
get B.exe
cd..
cd C
get C.exe
bye
以下兩個文件放在同一目錄下
getfile.bat文件內容如下:
@echo offftp.exe -i -s:getfile.txt 192.168.1.2(更換成你的ip,參數之間有空格)pauseexit@echo off
getfile.txt文件內容如下
myaccount
mypassword
cd Abinlcd D:\TEMP
get A.exe
cd..
cd B
get B.exe
cd..
cd C
get C.exe
bye
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。