PDA

View Full Version : Sync lt->rt copy fail file deleted?


alanmcd
05-Feb-2004, 05:43 PM
I use a sync operation in my script, when the outlook.pst file is locked, the copy fails but what is more disturbing is the previous good copy is deleted from the RHS. Is there a way of stopping this so that copy fails will leave a previous version in place?
thanks
Alan

Tim
05-Feb-2004, 06:50 PM
Hi Alan,

We've added a session option to handle this: In Session | Comparison Control, enable the Detect partial file locks option. Then, BC tests for file locks before attempting a copy.

You can set this option in a named session that your script uses, or you can make it a default setting by selecting Session | Set Default.

alanmcd
05-Feb-2004, 09:17 PM
Excellent - I'll give it a go - thanks
Alan

alanmcd
12-Feb-2004, 03:21 AM
I have tried this option but the target file still gets deleted when there is a lock on the outlook pst file. Do you have any clues?
I forced a copy of the file (after closing all locks on the pst file) and placed it in the target folder. Then ran the session and the file was gone.
thanks
Alan