Sync lt->rt copy fail file deleted?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alanmcd
    Visitor
    • Feb 2004
    • 8

    Sync lt->rt copy fail file deleted?

    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
    Team Scooter
    • Oct 2007
    • 786

    #2
    Re: Sync lt->rt copy fail file deleted?

    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.
    Tim T Scooter Software

    Comment

    • alanmcd
      Visitor
      • Feb 2004
      • 8

      #3
      Re: Sync lt->rt copy fail file deleted?

      Excellent - I'll give it a go - thanks
      Alan

      Comment

      • alanmcd
        Visitor
        • Feb 2004
        • 8

        #4
        Re: Sync lt->rt copy fail file deleted?

        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

        Comment

        Working...