ftp -s:ftpfile.txt
-s的说明如下:
原文:Specifies a text file containing FTP commands; the
commands will automatically run after FTP starts.
-------------------------------------
译文:指定一个文本文件,其中包含FTP命令;
命令将在FTP启动后自动运行。
-------------------------------------
ftpfile.txt的内容可能如下:
username
password
cd folder
get c:\vbs\1.vbs
bin
get c:\vbs\1.exe
quit
"一只大蹦猫" <yz...@hotmail.com> 写入消息
news:e2EmouC3...@TK2MSFTNGP03.phx.gbl...