RealTimeSync,Trying to save while File is Open?

Discuss new features and functions
User avatar
Posts: 11
Joined: 28 Nov 2024

Jupiter

Hello All,
I am using windows 11.
Running FreeFileSync 14.
Just started using RealTimeSync
I have an idle time of 10 seconds.
I have Compare contents.
I am Mirror syncing.
F:\DATA\EXCEL
P:\EXCEL
When I make changes in my Excel file and save it
If I do not close Excel quicky enough
I get an error message, obviously because the file is still open
and FFS can't complete the command.
Is there a setting in FFS that can check to see if the file
has been closed before executing the instruction?
If not could it be added in future upgrades to FFS?
TY
User avatar
Posts: 4290
Joined: 11 Jun 2019

xCSxXenon

This is likely because Office programs actually create a hidden copy of the file when opened. It has a '~' character prepended to the file name. When you save, it writes these changes to the real file, which gets detected by RTS. When you get this error, it is probably the '~XXXX' file that causes the error. If so, I think the only option is to ignore errors for the sync.
User avatar
Posts: 11
Joined: 28 Nov 2024

Jupiter

@xCSxXenon, Thank you for the information
User avatar
Posts: 2613
Joined: 22 Aug 2012

Plerry

For that reason, for many syncs I have added an item/line
*\~*
in the FFS Exclude Filter.
This excludes every file having a file-name starting with a "~" (tilde) from your FFS sync.

RTS still gets triggered when such a tilde-file is created, modified or deleted, and may cause FFS to start a sync. However, the sync will skip any sync actions (or attemps) for tilde-files.
User avatar
Posts: 4290
Joined: 11 Jun 2019

xCSxXenon

Oh that is a way better solution than I suggested LOL
User avatar
Posts: 4290
Joined: 11 Jun 2019

xCSxXenon

I think it might actually be okay if that was included in the default exclusions. They are never kept on purpose in the many years I've been in the field.
User avatar
Posts: 11
Joined: 28 Nov 2024

Jupiter

@Plerry thank you for the info