Open sespivak opened 7 years ago
Hi, Uhm... Another very tricky problem. Based on this doc we could properly handle names ending with a dot if we used UNC paths (\?\ABSOLUTE_PATH).
In the case of multi OS syncs this raises another question... Should we allow the handling of paths that contain forbidden windows characters (< > ? | / \ : " *) in Pydio knowing that such paths cannot be handled in windows but are fine in Unixes ?
It quickly becomes a mess in which we should error out both between client and server depending on which platform each is running... Then again for all other filenames it's just fine.
Did you try adding the pattern .*\.
to the excluded file name in the sync task settings?
Did you try adding the pattern .*. to the excluded file name in the sync task settings?
No, I did not. If I exclude this files and folders, syncing will not produce duplicates. But: 1) users expects that everything files and folders in repo are synced 2) I can't change default settings for all of my windows users. It's still a problem for me.
If filename ends with point, Windows creates file, but when sync client gets filename of that file or folder from OS, trailing point cutted. This is the reason of appear duplicates of folders when syncing clients over several OS's.
Example: "Folder." on Linux server "Folder" when synced on Windows "Folder" with same content then uploads to Linux server
In result, Linux server has 2 folders with filenames "Folder" and "Folder." and same content.
If Windows clients considered as important, folders and files with trailing point shouldn't be created. Or when syncing on Windows, filenames with and without trailing points should be considered as same.