From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7cc1aea52f175db X-Google-Attributes: gidfee84,public From: Rolf Hauck Subject: Re: ftp scripts Date: 1998/09/22 Message-ID: <36074FB7.8E6C476C@datenrevision.de>#1/1 X-Deja-AN: 393564339 Cache-Post-Path: stationfall!unknown@internetserver.datenrevision.de Content-Transfer-Encoding: 7bit References: <01bde58d$c8473060$b51cdec2@dalloyd.demon.co.uk> To: Al Content-Type: text/plain; charset=us-ascii Organization: datenrevision GmbH Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 I prefer to do those things with something similar to ( echo "open host" echo "put fileA" echo "put fileB" echo "quit" ) | ftp Rolf Al wrote: > > I am currently running a DUNIX 4.0b system. We have a requirement to do > some automated files transfers between ftp servers. I have written script > which uses some SQL to generate the file. I then need to ftp the file to a > remote site. I am having a problem with the syntax of my shell script. How > do you pass the relevant commands to ftp (open ftp.mycompany.com etc.) from > a shell script?