Sync open file?

Discuss new features and functions
Posts: 2
Joined: 12 Jul 2019

Mackie

I was wondering if FFS will work with an open file. I frequently have a drawing file open for an extended period and will save often. Will this interfere with a timed preset sync, meaning will the last saved version be used?
User avatar
Posts: 2283
Joined: 22 Aug 2012

Plerry

See FFS Manual section on Volume Shadow Copy.
(Windows only, and only when running FFS with admin rights)
Posts: 2
Joined: 12 Jul 2019

Mackie

So if I'm understanding this correctly, an open file is considered locked. This was not clear (to me) in the manual. Therefore, with the option "copy locked file" set, this should handle syncing the last saved version of that open file. Please let me know if this is incorrect. Thanks for the input.
User avatar
Posts: 2283
Joined: 22 Aug 2012

Plerry

It is my understanding that an open file and a locked file are two different beasts,
and that it depends on the application if open files are locked or not.
I am not sufficiently proficient on the topic to answer your question in detail.
But I do know that activating the Copy Locked Files option prevents FFS from chocking on locked files.
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

There are two kinds of errors that indicate that a file is "locked":

ERROR_SHARING_VIOLATION: A file handle is open but doesn't share read access (= the most common type of "locked" file)

ERROR_LOCK_VIOLATION: A (part of a) file has been explicitly locked via (Win32 LockFile())