Thanks. Have now got the following just in my shell script:
Code:
FTP_HOST=172.xxx.xxx.xxx
FTP_USER=username
FTP_PASS=password
ftp -n $FTP_HOST
quote USER $FTP_USER
quote PASS $FTP_PASS
put $BACKUP_FILE
bye
But just get the script sitting at:
Code:
2200 <FTPSERVER> Microsoft FTP Service (Version 5.0).
ftp>
And I have to manually type
quit to end the script without it finishing.
Pete.