Windows Bat ftp

使用bat从服务器上获取文件

先写一个ftp文件(注意空格) 定位 myFtp.txt

open www.ftp.com
$username
$password
cd ./targetDir/
prompt
mget *.html
bye
exit
打开命令行 (注意空格不要有)

>ftp -s:myFtp.txt



猜你喜欢

转载自blog.csdn.net/weixinyi21cn/article/details/79167278
今日推荐