Issue with Unsuccessful File Replacement by Files with Identical Names

Hello everyone,

I’ve come across a bug: occasionally, files with the same name and similar sizes fail to replace each other on the client side.

Here’s what I’ve observed:

1、I create a file named “test.txt” with the content “01234”, and it syncs normally between the client and server.
2、I create another file externally with the same name “test.txt”, this time with the content “56789”. After copying this external file into the client’s folder to replace the original file, the content remains “01234”.

The version of Nextcloud I’m using is 24.0.6. I’m unsure if this bug has been addressed in other versions.