In Windows cmd, upload files to the remote FTP server through rem *************************** * *************************** set server = 10.16.12.101 rem user name set usernm = FTPUSERYGL set passwd = FTPUSER rem local file path set locpath = C: \ rem file name set locfile = UF0500.csv rem file path set serpath =/MBX-YGL-IN/UF0500/MBX-YGL-FTP/rem Remote Server File Name set serfile = UF0500.csv rem file set method = put c: \ UF0500.csv. /MBX-YGL-IN/UF0500/MBX-YGL-FTP/_ FILE Set mode = bin ASC rem *************************** * **************************** set d = % DATE: ~ 4% echo open % server %> ftp.txt echo user % usernm % passwd %> ftp.txt echo % mode %> ftp.txt echo cd % serpath %> ftp.txt echo LCD % locpath %>> ftp.txt echo prompt> ftp.txt echo % method % locfile %> ftp.txt echo bye> ftp.txt ftp-n-s: ftp.txt> Archive_Batch _ % d:/= %. log echo del ftp.txt