|I think we should explain how to use redirection. I admit, for US it is obvious, but not to everybody. The script is OK by the way.|
OK, suppose your script is called script.bat or script.cmd ... navigate to the drive/directory containing that script, then :
C:\> script >> C:\output.txt 2>&1
Then open C:\output.txt
ps inside the FTP, you are in a different command box, so commands like PAUSE would not work (well, I guess) ... but you can remove the BYE command, so that it causes the batch to halt. Or maybe FTP is too smart to for that trick, and ignores this.