ftp -n $HOST <
quote PASS $PASSWD
cd $FTP_PATH
binaryput $BACKUP_PATH/$NOWDATE.tar
quit
END
EXITSTATUS=$?
if [ $EXITSTATUS != "0" ]then
echo "oops! got error, while transferring file to host m/c "
fi
Tuesday, December 11, 2007
Shell script to ftp file
Posted by Prem Kumar Jha at 5:17:00 PM
Labels: UNIX
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment