echo off rem *** FILE: rem *** c:\TurveyTavern\YahooSite\putIndex.bat rem *** DESCRIPTION: rem *** This batch program gets a file rem *** called 'index.html' from the geocities rem *** website at rem *** http://www.geocities.com/matth3wbishop rem *** The ftp server at yahoo has a time-out of rem *** 300 seconds. Under WinNT scripts within the rem *** ms ftp program seem to automatically logout of rem *** the target ftp server when all the commands of rem *** the script have executed. Under Win98, WinMe this rem *** does not seem to occur. rem *** The '-a' switch must be included when there is rem *** a firewall to get past to the ftp server. rem *** AUTHOR: rem *** m.j.bishop (matth3wbishop@yahoo.com) rem *** DATES: rem *** August 2001 echo user matth3wbishop bacibaci > ftp123.txt echo hash >> ftp123.txt echo ascii >> ftp123.txt echo get index.html >> ftp123.txt echo quit >> ftp123.txt rem *** Where there is a firewall use the -a switch rem *** after the script file name rem *** For example: rem *** ftp -i -n -s:ftp123.txt -a ftp.geocities.com rem *** Where there is no firewall do not use the -a rem *** switch. ftp -i -n -s:ftp123.txt ftp.geocities.com del ftp123.txt