time /t> log.txtecho "open 192.168.1.10user $1 $2bincd uploadget $3bye" |ftp -i -ntime /t>>log.txt这样就可以了吧。中间ftp下载代码我用在是linux下的。你改改成windows就可以了。