Category: ASP

Windows Server FTP batch File.

Copy below into a file called ftp.txt and call it from command line. Replace the text in square brackets

Text File

open [host
:--- FTP commands below here ---
lcd  [localfolder
cd [remotefolder
mput "*.*"

Call from command line:

FTP -v -i -s:ftp.txt

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: