Error miroring Linux->Windows via SFTP

Get help for specific problems
Posts: 13
Joined: 9 Nov 2025

ravishahani

I recently set up a mirror from my Linux server to my Windows PC. For some reason I consistently get an error syncing one specific file.

2:00:10 PM Error: Cannot rename "C:\Users\ravis\OneDrive\Backup\Files\Vaultwarden\vw-data\icon_cache\Bellevuecollege.edu-8788.ffs_tmp" to "Bellevuecollege.edu.png".
ERROR_ALREADY_EXISTS: Cannot create a file when that file already exists. [MoveFileEx]

I have tried deleting the target file and the error persists even after deletion.

Any ideas what is going on, or how I can reasonably work around this?

I found a few related threads on this forum but two were not answered, and the other apparently was a NAS issue that magically was resolved.

viewtopic.php?t=12121
viewtopic.php?t=12195&hilit=ERROR_ALREADY_EXISTS#p47465
viewtopic.php?t=12738&hilit=ERROR_ALREADY_EXISTS#p49394