Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!fsbrn@brl-voc
From: fsbrn%brl-voc@sri-unix.UUCP
Newsgroups: net.micro.cpm
Subject: Re: multiple FTP gets from SIMTEL20 for CPM stuff..
Message-ID: <16063@sri-arpa.UUCP>
Date: Fri, 27-Jan-84 10:24:44 EST
Article-I.D.: sri-arpa.16063
Posted: Fri Jan 27 10:24:44 1984
Date-Received: Tue, 31-Jan-84 01:54:05 EST
Lines: 56
From: "Ferd Brundick (LTTB)"
Haaah,
Our local implementation of ftp doesn't have the 'script' or 'xfile'
commands, so we have to use re-directed input. I grabbed all the
cpmug catalog files (1 per directory) by building a file containing
the following commands:
verbose
tenex
get "micro:catalog" catalog.001
get "micro:catalog" catalog.002
... (more of the same)
bye
I actually built this file with a shell script that used the 'while' construct:
i=1
while test $i -lt 10
do
echo "get \"micro:catalog\" catalog.00$i" >>ftp.commands
i=`expr $i + 1`
done
(The sequence \" protects the double-quote)
Once you have built the ftp command file, you enter the following command:
ftp simtel20
By the way, an easy way to transfer a small number of files is to put part
of the name in a Special Function key (I do this on an hp terminal):
get "micro: