Not only Windows has a built-in command line FTP utility which can be used to connect to FTP sites it also supports FTP script files which come in handy if you have to perform some tasks with FTP regularly or on daily basis.

A FTP Script file is a simple text file which is of the format

Open ftp.mysite.com
FtpUsername
FtpPassword
Lcd desktop
Get anythig.htm 
Bye

Save this file using any name and than run it from the command line. Suppose we save this file by giving name “script.txt” in the root of drive C: than it will be run by giving the command.

ftp –s:”C:\script.txt”

Trackback

no comment untill now

Add your comment now