FTP Scripts on windows

ftp -s:script.txt

The contents of script.txt might look like this:

ftp.server.com
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.

Leave a Reply

You must be logged in to post a comment.