I have script like this
var1=xyx.com
ftp $Var1 > $applLog/log.outfile 2>&1 <<!
put $file1 $file2
bye
!
if [ -s $applLog/log.outfile ]
then
echo "FTP errored!"
mailx -s"Error: $ShellName - $HostName FTP Failed" $mailList < $applLog/log.outfile
rm $applLog/log.outfile
fi
The FTP is erroring out. I got the following error message in the mail.
netout: broken pipe
Lost Connection
Can anybody throw somelight on what could be the problem? Please this is urgent.