echo off rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* rem *** FILE: rem *** ~matth3wbishop/BatchScripts/logonYahoo.txt rem *** DESCRIPTION: rem *** This batch program automates the rem *** process of logging on the the rem *** Yahoo Geocities ftp server for the rem *** website at rem *** http://www.geocities.com/matth3wbishop rem *** The ftp server at yahoo has a time-out of rem *** 300 seconds which is the reason for this rem *** script. This script may not work with winNT rem *** because the ftp program automatically exits rem *** after executing commands in a script file rem *** (The -s: switch) rem *** Add the -a switch when behind a firewall rem *** rem *** AUTHOR: rem *** m.j.bishop (matth3wbishop@yahoo.com) rem *** TESTING: rem *** WinMe works rem *** Win95 automatically logs off (i.e. doesn't work) rem *** after the script has finished rem *** Note: Win95 ftp program doesn't appear to have rem *** the '-a' switch for 'passive' mode transfers rem *** Win98 Seems to work rem *** WinNT Same as 95 (Doesnt work) rem *** These problems should be solvable by getting rem *** a better ftp program rem *** SEE ALSO: rem *** ~matth3wbishop/BatchScripts/putf.txt rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* rem *** rem *** create the ftp script file rem *** echo on echo user matth3wbishop bacibaci > ftp.txt echo dir >> ftp.txt ftp -i -n -s:ftp.txt ftp.geocities.com @rem *** When behind a firewall use the following line @rem *** ftp -i -n -s:ftp.txt -a ftp.geocities.com del ftp.txt