Sync with server: Case sensitivity warning shown erroneously

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
agowa338
Junior Member
Junior Member
Posts: 4
Joined: 2019-01-19, 02:09 UTC

Sync with server: Case sensitivity warning shown erroneously

Post 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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sync with server: Case sensitivity warning shown erroneously

Post by *ghisler(Author) »

That's for the info, I wasn't aware of this change!
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sync with server: Case sensitivity warning shown erroneously

Post 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.
Author of Total Commander
https://www.ghisler.com
Post Reply