Sync open file?
- Posts: 2
- Joined: 12 Jul 2019
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?
- Posts: 2451
- Joined: 22 Aug 2012
See FFS Manual section on Volume Shadow Copy.
(Windows only, and only when running FFS with admin rights)
(Windows only, and only when running FFS with admin rights)
- Posts: 2
- Joined: 12 Jul 2019
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.
- Posts: 2451
- Joined: 22 Aug 2012
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.
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.
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
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())
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())