Page 1 of 1

Sync with server: Case sensitivity warning shown erroneously

Posted: 2019-01-19, 02:30 UTC
by agowa338
Hi,

just wanted to report, that if one tries to sync two folders with files that have the same name but different capitalization exist within the same folder, the warning:
---------------------------
Total Commander
---------------------------
Error, two files with the same name but different case exist on the remote server!
Because Windows doesn't support this on local drives, you need to delete one of the duplicates before proceeding!

path\to\File.pdf

path\to\file.pdf
---------------------------
OK Cancel
---------------------------

This warning is also shown if the destination folder has the setCaseSensitiveInfo attribute set. If this warning is acknowledged, TotalCommander handles synchronization correctly without any error.

I think because this attribute is fairly new (Feb 2018), there may just be a check missing that suppresses the warning if it is set.

More information about this flag: https://blogs.msdn.microsoft.com/commandline/2018/02/28/per-directory-case-sensitivity-and-wsl/

Best,
agowa338

Re: Sync with server: Case sensitivity warning shown erroneously

Posted: 2019-01-21, 15:03 UTC
by ghisler(Author)
That's for the info, I wasn't aware of this change!

Re: Sync with server: Case sensitivity warning shown erroneously

Posted: 2019-02-27, 16:27 UTC
by ghisler(Author)
I have made a partial change now:
1. The warning will not be shown for local files, but still for files on ftp servers
2. Duplicate names which exist on only one side will be marked with a "forbidden" icon and will not by synchronized. I may support that in the future.
3. When two files are marked for overwriting, e.g. A.txt and a.txt, only the first will be copied on the first pass. I may support that in the future.