bat批处理自动上传文件到FTP
@Echo Off
Echo open 192.168.2.111>ftp.up
Echo admin>>ftp.up
Echo 123456>>ftp.up
Echo Cd .\User >>ftp.up
Echo binary>>ftp.up
Echo prompt >>ftp.up
Echo lcd "E:\DB_BACKUP\sql">>ftp.up
Echo mput "E:\DB_BACKUP\sql\*.bak">>ftp.up
Echo bye>>ftp.up
FTP -s:ftp.up
del ftp.up /q