I have a Red Hat 9 server which I am attempting to ftp a file to
a Solaris 8 server using a shell script to perform an unattended ftp. I have the following script setup to run:
#!/bin/sh
#
cd /tmp
ftp -v 192.20.20.5 << EOF 2>&1
cd /tmp
put gatherstats
bye
EOF
I created the .netrc file on the Linux server to access the Solaris server. When I run my shell script it hangs on the Linux server. Any help would be appreciated.
Thanks,
Mike