PDA

View Full Version : File deletes when partial lock set


alanmcd
18-Feb-2004, 02:18 AM
I have set my "detect partial lock" setting for my session but the session still deletes the previously successful copy of the file in the target folder. Is there a way to stop BC from deleting a file which has been copied previously?
Thanks
Alan

Craig
18-Feb-2004, 12:15 PM
What kind of sync are you doing, and what is making the copy fail? BC does the best it can to detect cases where a copy should fail, especially with "Detect Partial Lock" enabled. If it passes that check, and we can open the source and destination files, the file has already been written to by the time the copy fails, so the target file isn't valid anymore.

alanmcd
19-Feb-2004, 04:57 AM
This is the script:
load "Espresso Documents and Settings"
// which is the docs and settings dir excluding temp internet folders
option confirm:yes-to-all
sync create-empty mirror:lt->rt

Other than that - not sure what you mean by "type" of sync.
So let's say my smartphone is left charging and therefore locked the pst file since it is also left to active sync against it. In this case the script completes and the target pst file is deleted during the script instead of being left alone.
thanks
Alan