tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary:  Ftp commands within script
@ 2001-05-01 10:09 Tom McCarrick
  0 siblings, 0 replies; only message in thread
From: Tom McCarrick @ 2001-05-01 10:09 UTC (permalink / raw)
  To: tru64-unix-managers

(Original message at the end)

The solution was fairly straightforward - I just needed to remove the spaces
before the 'EOF' character


Thanks to the following:
   Scott D. Yelich
   Dr. Thomas.Blinn
   Phil Farrell
   Tom Webster
   Chris Eubank 
   Andrew A. Johnson
   George Gallen
   Hugh Pritchard
   Bill Melvin
   Kimberly Agle
   Mark Menkhus
   Bryan Lavelle
   Hans Ranke
   Uwe Lienig
   Justin Richardson
   Dan Harrington
   Lucio Chiapetti
   Gavin Kreuiter
   Jim Smart




 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-01 10:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01 10:09 Summary: Ftp commands within script Tom McCarrick

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