Actually, you can use a log file with FTP that contains all commands you want to perform. I do this myself. You then run the FTP command with the -s switch to have FTP run with using the log file.
For example, here is my TXT file of FTP commands.I call this file UPLOAD.TXT
open FTP.SITE.COM
LOGINNAME
PASSWORD
lcd C:/TEMP
put FILE1.TXT DIR1/AFILE.TXT (replace
put FILE1.TXT DIR2/BFILE.TXT (replace
quit
So, in my C:\TEMP folder are 2 files, FILE1.TXT and FILE2.TXT. I upload these files onto the FTP server, replacing AFILE.TXT and BFILE.TXT with my copies.
Now, in your BAT file, have it say this:
ftp -s:C:\TEMP\UPLOAD.TXT
That will kick off the FTP session and it will run everything in UPLOAD.txt
So, just makeyour own TXT file, put in everything you want to do, then have the BAT file run FTP with the -s switch.
hope this helps