Wednesday, July 18, 2007

FTP in Batch File

Here is one that is still handy.  Trying to ftp something on a schedule.  You can use the Windows AT Command to kick off a batch file and within the batch file you can call ftp with -s to run a script (.scr).  Nothing special about the .scr file, it is just a text file with a .scr extension.  Just put the .scr file in the same directory as your batch file.

You can check out Microsoft Article ID 313565 for specifics on the AT command and Article ID 96269 for specifics on FTP batch scripts.

No comments: