新建ftp.dat文件,内容如下


open xxx.xxx.xxx.xxx
username
password
cd   
lcd x:\files
binary
hash
mget *.*
bye


新建run.bat文件
ftp -s:ftp.dat
执行run.bat即可