[ale] Auto-ftp
Randy Dunlap
rdunlap at atlanta.nsc.com
Wed Oct 16 08:46:06 EDT 1996
David Haynes wrote:
|
|I'm trying to write a shell script that will ftp a file from one machine
|to another, using anonymous login . FTP does not seem to like my
|redirected inputs . Anyone have any hints on this ?
|
| Thanks,
| Dave
|
I don't know if this will work with Linux, but I just did this
for SunOS FTP yesterday. Maybe someone will know if this just
won't work with Linux FTP.
~Randy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#! /bin/sh -
# Set up variables for downloading the new test suite files
HOSTMASTER=gatekeeper
#HOST=`hostname`
HOST=atlanta
DOMAIN=nsc.com
DIR=/n/atlanta/rdunlap/novell/tmp
# Get new test suite files
ftp -i -n -v $HOSTMASTER << EOF
user anonymous at ftp.novell.com `whoami`@$HOST.$DOMAIN
bin
get /pub/updates/lzfw/lzwin21/00Index $DIR/00Index
get /pub/updates/lzfw/lzwin21/lzfwqa.exe $DIR/lzfwqa.exe
get /pub/updates/lzfw/lzwin21/lzw001.exe $DIR/lzw001.exe
get /pub/updates/lzfw/lzwin21/lzw002.exe $DIR/lzw002.exe
get /pub/updates/lzfw/lzwin21/lzwdmo.exe $DIR/lzwdmo.exe
get /pub/updates/lzfw/lzwin21/tcp16.exe $DIR/tcp16.exe
get /pub/updates/lzfw/lzwin21/trace.exe $DIR/trace.exe
quit
EOF
More information about the Ale
mailing list