Well...keep all your file information as a variable, as well as what command
you want.
Set c1=FIRST COMMAND
Set c2=SECOND COMMAND
...
echo %c1% > ftplogin.txt
echo %c2% >> ftplogin.txt
echo %c3% >> ftplogin.txt
echo %c4%(this would be the GET command) >> ftplogin.txt
echo %c5% >> ftplogin.txt
You have to modify it to suit your needs, but it will work.