Synchronization of files with dot

Hello everyone,
I have a problem, when I upload any file with nextcloud desktop or phone app that contains dot (for example: .cache) it gives error 404 and simply refuses to be uploaded, how to resolve this?
Thanks to any reply.

you can’t… rename files.

By common definition and rules in linux, dot files are hidden files…