Why is 1 file wanting to be deleted from the Source?

Get help for specific problems
Posts: 943
Joined: 8 May 2006

therube

Why is 1 file wanting to be deleted from the Source?

New configuration
Source is \\NAS
Target is an empty directory on a networked PC

1 file (& only 1) is showing it wants to be deleted from the Source?

Same results with both Update & Mirror scans.
And both Update & Mirror should not be touching the Source side, no?


Why are any files being subject to be deleted from the Source end?
And why that file in particular?

FreeFileSync Update sync wants to delete Source file.png
FreeFileSync Update sync wants to delete Source file.png (206.21 KiB) Viewed 936 times
Last edited by therube on 11 Jan 2024, 18:44, edited 1 time in total.
Posts: 943
Joined: 8 May 2006

therube

Does sound similar.
Guess I should throw in an earlier version of FFS (& see what that shows)?
User avatar
Posts: 3607
Joined: 11 Jun 2019

xCSxXenon

Your picture shows a ffs_temp file. FFS might be hard-coded to find these and delete them since they aren't legitimate data
User avatar
Posts: 3607
Joined: 11 Jun 2019

xCSxXenon

I confirmed this behavior by creating a file with the .ffs_tmp extension on a source location for a mirror and it acted the same way. This is intended behavior
Posts: 943
Joined: 8 May 2006

therube

FFS 12.5 shows the same, so you might be right.

(Which would then also likely mean that something else is going on in that other thread.)



Maybe it's a race (not exactly the right word, but...) condition.
An existing x.ffs_tmp wants to be create a file named x.ffs_tmp, but it already exists.
So you would think it would create a file a file named x.ffs_tmp.ffs_tmp, but it only wants the basename, so we're back to "x", which then would create a x.ffs_tmp file, which already exists... heh.
User avatar
Site Admin
Posts: 7052
Joined: 9 Dec 2007

Zenju

" .ffs_tmp" files are a special case: They "belong" to FreeFileSync. If a new run finds them remnant from a previous sync, they will be unconditionally and permanently be deleted as a cleanup. See "fail-safe file copy".