Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!umich!vela!w8sdz From: w8sdz@vela.acs.oakland.edu (Keith Petersen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: auto anon ftp? Message-ID: <4139@vela.acs.oakland.edu> Date: 6 Dec 90 07:31:59 GMT References: <1990Dec4.034528.10913@infonode.ingr.com> <1990Dec5.114059.334@sc2a.unige.ch> Reply-To: w8sdz@vela.acs.oakland.edu (Keith Petersen) Organization: The SIMTEL20 Archives Lines: 28 Try this script. It assumes you have an entry in your .netrc for the host you are going to connect to. ftp -v -i << \End >$HOME/getsim.log open 26.2.0.74 case nmap $1.$2.$3 $1.$2 lcd ~/xfer cd pd1:[msdos.zmodem] hash type binary mget dsz11*.zip bye End echo GETSIM: Done Be careful with mget. You may get more files than you want. It's better to use a get and make several entries. Notice the file names are mapped from three-part to two-part to get riud of those annoying file generation numbers. They are also mapped to lower case. Keith -- Keith Petersen Maintainer of SIMTEL20's MSDOS, MISC & CP/M archives [IP address 26.2.0.74] Internet: w8sdz@WSMR-SIMTEL20.Army.Mil or w8sdz@vela.acs.oakland.edu Uucp: uunet!umich!vela!w8sdz BITNET: w8sdz@OAKLAND