FTP Scripts on windows
By Pete Freitag
I found this Microsoft KB article today #96269 which shows you how to use the ftp program that comes with all versions of windows an automate a file transfer.
ftp -s:script.txt ftp.server.comThe contents of script.txt might look like this:
yourUserName yourPassword bin cd /files put file.zip bye
This is handy for administration between servers, but keep in mind that FTP sends passwords in clear text. You should use FTP over SSL or SFTP instead.
FTP Scripts on windows was first published on January 31, 2003.