I am trying to ftp a directory and all its files from one SCO server to
another, while preserving the user, group, and permissions.
I'm running the following line in a bourne shell script, and it works fine
under SCO 3.2.
(echo "bin";echo "cd $drive";echo "umask 000" ;echo "get " $dir ".tar"
;sleep 1) | ftp -i -v server2
I just can't seem to get it to work for SCO OS/5. The problem is in the "get
xxx.tar" command. It appears that OS/5 doesn't understand this.
Any suggestions on how to get this to work, or another way to accomplish the
same desired results, would be most appreciated.
Thanks in advance,
Bill