@echo off
echo user>ftp.ftp
echo username>>ftp.ftp
echo pwd>>ftp.ftp
echo cd c:\>>ftp.ftp
echo bin>>ftp.ftp
echo hash 1024>>ftp.ftp
echo put xx>>ftp.ftp
echo bye>>ftp.ftp
ftp -n -s:ftp.ftp x.x.x.x
del ftp.ftp
exit
@echo off
echo user>ftp.ftp
echo username>>ftp.ftp
echo pwd>>ftp.ftp
echo cd c:\>>ftp.ftp
echo bin>>ftp.ftp
echo hash 1024>>ftp.ftp
echo put xx>>ftp.ftp
echo bye>>ftp.ftp
ftp -n -s:ftp.ftp x.x.x.x
del ftp.ftp
exit