Hi there Gurus,
I have the following ftp script:
$ more ftp_dump_arch4.sh
#! /usr/bin/ksh
# Constant variables
HOST='xx.xx.xx.xx'
USER='user'
PASSWD='password'
dir='/export/file'
ftp_log='/tmp'
ftp -n $HOST > $ftp_log/ftp.log << END
user $USER $PASSWD
verbose
lcd $dir
bin
mput *dmp.gz ---> any files with this dmp.gz extention will be ftp
mput * ---> the rest of the files are not copied over when there aren't any dmp.gz files available... how do i resolve this??
bye
wait
exit 0
thanks!!
wee