tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Tom Mc Carrick" <Tom.McCarrick () unilever ! com>
To: tru64-unix-managers
Subject: Ftp commands within script
Date: Wed, 18 Apr 2001 07:17:35 +0000	[thread overview]
Message-ID: <98757841413391.tru64-unix-managers.marc@archive.invalid> (raw)

Deal All
I have a script  which I want to do an ftp transfer, then carry on. But what I
am finding is that it exits after doing the ftp transfer. How can I get it to
return control to the script, and carry on.
Thanks in  advance

Tom Mc Carrick
 
ftp -n -v << EOF > FTPLOG.log
 open host1
 user tmccar pass1
 site umask 011
 cd download
 get tempfile
 EOF
Note - script exits here - I want it to continue
 grep -s 'No such file or directory' FTPLOG.log'
 if [ $? != 0] then
    echo 'tempfile not found'
 fi
more commands here

                 reply	other threads:[~2001-04-18  7:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox