[CentOS] Auto exit lftp on bash script

Wed Jan 27 15:56:31 UTC 2010
Henrik <hc at henrikch.dk>

On 2010-01-26 19:24, Alan Hoffmeister wrote:
> #####################
> #lftp will make the backup
> lftp -u user,password -e "mirror --reverse --delete --only-newer
> --verbose /var/bkp /test_bkp" somehost.com>>  $LOGFILE
>
>    
;quit does work in my script:
lftp -e 'put 'some.file';quit' -p 21 -u user,pass 1.1.1.1