Windows 2000 comes with a command line FTP program. The "-s" command line option allows you to pass in the list of command you want to execute. That will allow you to do exactly what you want. See the FTP command line options in the Windows 2000 help for more information.
This was first published in March 2001