I am constantly getting this error message when trying to sync:
"Cannot move file
"E:\ArchiMED4\DBImages\10039774\DB1~0ca0.ffs_tmp" to
"E:\ArchiMED4\DBImages\10039774\DB1.SIM".
ERROR_ALREADY_EXISTS: Cannot create a file when that file already exists. [MoveFileEx]"
I tried looking at the older threads but they suggest this issue was fixed, but I am using the latest 11.27 64 bit Windows version.
I've been having this issue for a while now and I am forced to ignore these errors and copy the problematic files manually.
I would appreciate any help and please let me know if further info is required.
BTW, really appreciate this awesome SW and your contribution!
Cannot move file ERROR_ALREADY_EXISTS
- Posts: 3
- Joined: 6 Nov 2022
- Site Admin
- Posts: 7210
- Joined: 9 Dec 2007
Let's have a look: https://freefilesync.org/faq.php#trace
- Posts: 3
- Joined: 6 Nov 2022
Thank you Zenju!
I sent you the PML file.
I sent you the PML file.
- Site Admin
- Posts: 7210
- Joined: 9 Dec 2007
Using the above as an example, E:\ArchiMED4\DBImages\10039774\DB1.SIM is deleted successfully, then a rename is attempted:
"E:\ArchiMED4\DBImages\10039774\DB1~0ca0.ffs_tmp" to
"E:\ArchiMED4\DBImages\10039774\DB1.SIM"
failing with ERROR_ALREADY_EXISTS.
So it's a netwerk server or driver bug. Obviously the file cache does not include the fact that the file was already deleted when it incorrectly fails with ERROR_ALREADY_EXISTS, so the network drive is violating sequential consistency.
We can try something: Overwrite the target unconditionally: https://www.mediafire.com/file/79gf315vdjbxccm/FreeFileSync_11.28_%255BBeta%255D_Windows_Setup%25287%2529.exe
"E:\ArchiMED4\DBImages\10039774\DB1~0ca0.ffs_tmp" to
"E:\ArchiMED4\DBImages\10039774\DB1.SIM"
failing with ERROR_ALREADY_EXISTS.
So it's a netwerk server or driver bug. Obviously the file cache does not include the fact that the file was already deleted when it incorrectly fails with ERROR_ALREADY_EXISTS, so the network drive is violating sequential consistency.
We can try something: Overwrite the target unconditionally: https://www.mediafire.com/file/79gf315vdjbxccm/FreeFileSync_11.28_%255BBeta%255D_Windows_Setup%25287%2529.exe
- Posts: 3
- Joined: 6 Nov 2022
Hi Zenju,
I tried the running the 11.28 BETA version and not I get the following error instead:
Cannot move file
"E:\ArchiMED4\DBImages\10039774\DB2~c6ef.ffs_tmp" to
"E:\ArchiMED4\DBImages\10039774\DB2.SIM".
Error code 0x571: The disk structure is corrupted and unreadable. [MoveFileEx]
After seeing this, performed Windows' "Error checking" for my drive and errors were indeed found and fixed.
I rolled back to FFS latest release 11.27 and ran the file sync and it worked perfectly!
Thank you so much for your help and your super useful SW!
I tried the running the 11.28 BETA version and not I get the following error instead:
Cannot move file
"E:\ArchiMED4\DBImages\10039774\DB2~c6ef.ffs_tmp" to
"E:\ArchiMED4\DBImages\10039774\DB2.SIM".
Error code 0x571: The disk structure is corrupted and unreadable. [MoveFileEx]
After seeing this, performed Windows' "Error checking" for my drive and errors were indeed found and fixed.
I rolled back to FFS latest release 11.27 and ran the file sync and it worked perfectly!
Thank you so much for your help and your super useful SW!