Friday, January 31, 2003

FTP Scripts on windows
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.com
The 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.