Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!aplcen!haven!ames!bionet!agate!shelby!csli!carl From: carl@csli.Stanford.EDU (Carl Schaefer) Newsgroups: comp.protocols.tcp-ip Subject: Re: One-shot ftp client Message-ID: <12466@csli.Stanford.EDU> Date: 28 Feb 90 08:02:08 GMT References: <792@winnie.fit.edu> <1990Feb18.000713.28831@axion.bt.co.uk> <1990Feb26.200045.24761@sq.sq.com> Sender: carl@csli.Stanford.EDU (Carl Schaefer) Reply-To: carl@csli.stanford.edu (Carl Schaefer) Organization: Center for the Study of Language and Information, Stanford U. Lines: 44 In article <1990Feb26.200045.24761@sq.sq.com> ian@SQ.Com (ian) writes: ] #! /bin/sh ] # yet another batch ftp client ] # usage: shftp address loginname password file1 [file2 file3 file4 file5] ] ] machine=$1 ] login=$2 ] passwd=$3 ] shift; shift; shift; ] echo "machine $machine login $login password $passwd" >> $HOME/.netrc ] chmod 600 $HOME/.netrc ] ] ftp $machine <