Change to final file extension after transfer completion

Subject: Show incomplete files with temporary extension during transfer

Hello everyone,

I’ve noticed that when transferring a file from folder A to folder B, the file already appears in folder B with its final extension (e.g., .docx) even though the transfer hasn’t completed yet.

I’m wondering if there’s a way to change this behavior. For example, when transferring a file like demo.docx:

  • The transfer begins from folder A.
  • In folder B, a temporary file like demo.wait (or any other extension used by Syncthing for incomplete files) appears during the transfer.
  • Once the transfer is complete, the file is then renamed to demo.docx in folder B.

Is this possible in Syncthing? Is there an option to enable such behavior?

Thanks a lot for your help!

Syncthing already does what you’re asking. :wink:

Syncthing avoids clobbering a good copy with a bad one in the event that the data transfer is interrupted by network, hardware and other potential issues.

If you haven’t already, check out Syncthing’s “Understanding Synchronization” page for more details.

3 Likes