Delete file while exits sync

Hello,

If exists a file sync pending, syncthing can delete a file while it is synchronizing? when syncthing can delete a file?

Thanks!!

The temporary file will get removed after the configured number of hours, if that’s what you are asking.

Not exactly, we want to know if a file is large and there is enough time to synchronize , it’s removed ?

or it’s removed only when synchronization is inactive ?

Thanks!!

Sorry, I still don’t understand the question. Why would it be removed if there is enough time to synchronize?

I’m sorry when there is not enough.

No, temporary files are always kept for the configured amount of time. The only case when when we discard them early is if we start downloading the file, and the temporary file has information in it that we could reuse.