Hi,
 
I'm using lftp for mirroring a folder from my computer to a server (using -R option)
 
Here is my script
 
open -u username,password ftp.demo.com
mirror -vv -R -p -x index.xml /home/Datas/
mirror -vv -R -p -e /home/Datas/
 
I've got two lines cause i need to upload index.xml files at the end of the process, just after all other files are updated.
My problem is that lftp, when uploading a file, just delete it and recreate it ... is there a way of overwriting the destination file instead of the del/put method ... ?
 
Thanks for your help.
 
rem : excuse my english, if you want some more explanation ... ask me.
 
David.

Reply via email to