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.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.
Like this? Follow me ↯Tweet Follow @pfreitag
FTP Scripts on windows was first published on January 31, 2003.
If you like reading about windows, ftp, utils, or tips then you might also like:
- xcopy - Handy tool on windows
- Uptime for Windows 2000, 2003, XP and NT
- SSH for Windows
- Unix Utils for Windows
- Right Click to Open Command Prompt in Directory
- Right Click - Edit with Notepad