Xref: utzoo comp.protocols.tcp-ip:10304 comp.sources.wanted:10647 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!winnie!zach!rcs89301 From: rcs89301@zach.fit.edu ( Thomas E. Currey) Newsgroups: comp.protocols.tcp-ip,comp.sources.wanted Subject: Re: One-shot ftp client Message-ID: <792@winnie.fit.edu> Date: 19 Feb 90 22:45:08 GMT References: <1990Feb18.000713.28831@axion.bt.co.uk> Sender: usenet@winnie.fit.edu Reply-To: rcs89301@zach.UUCP ( Thomas E. Currey) Followup-To: comp.protocols.tcp-ip Organization: Florida Institute of Technology, ACS, Melbourne, FL Lines: 25 Off the top of my head: you might try this It accepts the arguements you wanted usage : shftp address loginname password [file1 file2 file3 file4 file5 file6] -----------------------CUT HERE Beware no comments read manual-------------- #! /bin/sh cat "machine $1 login $2 password $3" >> $HOME/.netrc chmod 600 $HOME/.netrc echo "binary get $4 get $5 get $6 get $7 get $8 get $9 quit" > $HOME/ftp.tmp ftp $1 < $HOME/ftp.tmp > /dev/null rm $HOME/ftp.tmp -------------------------------------------------------------------------- There is also a nifty program on simtel20. It dos the same thing but with a timer. "auto-ftp"