File: D:/bin/sendweblogs/ftponly.bat
d:
cd d:\bin\sendweblogs
rem --- build the FTP operations file
rem (SS,23/04/10) had to use open due to non standard port used
echo open dev.itpartnership.com 5821>ftpop.txt
echo weblogs>>ftpop.txt
echo alaska>>ftpop.txt
echo binary>>ftpop.txt
rem following uploads todays backup file
echo put weblogs.zip>>ftpop.txt
echo quit>>ftpop.txt
rem --- FTP the file to other server
rem SS,23/4/10 port changed to 5821 (on 18/11/2009), now also using open see above
ftp -s:ftpop.txt>>ftplog.txt
pause