Problem with automatic sending of photos

I have automatic photo sync running on nextcloud. When everyone quits (auto upload), strange endings are added to the files. Has anyone ever had a similar problem? After removing these “extensions” the picture is fine and you can open it. The picture looks like below \ /

Looks a bit like a temporary file. What app/program is used for uploads? Do you have anything in the logfiles…?