echo off rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* rem *** FILE: rem *** ~matth3bishop/BatchScripts/getScripts.txt rem *** DESCRIPTION: rem *** This batch program automates the rem *** process of getting all of the files from the rem *** Yahoo Geocities ftp server for the rem *** website at rem *** http://www.geocities.com/matth3wbishop rem *** Add the -a switch when behind a firewall rem *** and when your ftp program supports the -a rem *** or -passive (linux) switch. rem *** PARAMETERS: rem *** EXAMPLES: rem *** Example 1: rem *** Example 2: rem *** NOTES: rem *** DATES: rem *** August, September 2001 rem *** AUTHOR: rem *** m.j.bishop (matth3wbishop@yahoo.com) rem *** TESTING: rem *** This is not finished rem *** Win95 rem *** SEE ALSO: rem *** ~matth3wbishop/BatchScripts/putf.txt rem *** uploads a file to the 'matth3wbishop' geocities rem *** Web-Site rem *** getf, getGeo, pushf, putf, ly rem *** getBigP rem *** putBigP rem *** ~matth3wbishop/BatchScripts/logonYahoo.txt rem *** Logs onto the same site (WinMe, Win98 only) rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--* echo on @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* @rem *** Create a Directory Tree Repository for @rem *** for the retrieved files. @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* mkdir \matth3wbishopGEO cd \matth3wbishopGEO mkdir cv mkdir Images mkdir BatchScripts mkdir AspFunctions @rem *** @rem *** create the ftp script file @rem *** echo user matth3wbishop bacibaci > ftpScript.txt echo hash >> ftpScript.txt echo prompt >> ftpScript.txt @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* @rem *** Retrieve the Home Directory (ascii & binary) @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* echo ascii >> ftpScript.txt echo mget * >> ftpScript.txt echo binary >> ftpScript.txt echo mget *.doc >> ftpScript.txt echo mget *.rtf >> ftpScript.txt echo mget *.gif >> ftpScript.txt echo mget *.jpeg >> ftpScript.txt echo mget *.jpg >> ftpScript.txt echo mget *.bmp >> ftpScript.txt echo ascii >> ftpScript.txt @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* @rem *** Retrieve the AspFunction SubDirectory @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* echo cd AspFunctions >> ftpScript.txt echo lcd AspFunctions >> ftpScript.txt echo mget * >> ftpScript.txt echo binary >> ftpScript.txt echo mget *.doc >> ftpScript.txt echo cd .. >> ftpScript.txt echo lcd .. >> ftpScript.txt echo ascii >> ftpScript.txt @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* @rem *** Retrieve the cv SubDirectory @rem *--*--*--*--*--*--*--*--*--*--*--*--*--*--* echo cd cv >> ftpScript.txt echo lcd cv >> ftpScript.txt echo mget * >> ftpScript.txt echo binary >> ftpScript.txt echo mget *.doc >> ftpScript.txt echo cd .. >> ftpScript.txt echo lcd .. >> ftpScript.txt echo ascii >> ftpScript.txt @rem *** @rem *** Logon & transfer (download) the files @rem *** ftp -n -s:ftpScript.txt ftp.geocities.com @rem *** When behind a firewall use the following line @rem *** ftp -n -s:ftpScript.txt -a ftp.geocities.com rem del ftpScript.txt @rem *** @rem *** @rem *** @rem *** @echo *--*--*--*--*--*--*--*--*--*--* @echo Dear User, @echo This script is designed to download all of the @echo 'matth3wbishop' site on the Yahoo Geocities @echo ftp Web hosting Server to the local computer. @echo .. @echo However it is not entirely finished yet and @echo not retrieve all of the subdirectories. @echo Also it may not retrieve the files in the @echo correct mode (that is binary or ascii) @echo Please see the comments in the batch @echo file (%0.bat) for more information @echo about how to use this script @echo *--*--*--*--*--*--*--*--*--*--*