EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Issue with CaseSensitiveFileNames

Posted: 04/11/2014 09:15:05
by Sergey Sukhinin (Standard support level)
Joined: 04/11/2014
Posts: 2


We have issue with case sensitive file names during renaming file/folder

For example:
1) original file http://gyazo.com/5942e57c342aabf9f08327105f3b100d
2) what we want to change http://gyazo.com/a487f0e1bd887f729be5fd4f7b7fb621

We setted CallbackFileSystem.CaseSensitiveFileNames property as true and expected it will help us but without success.

Also we tried to set RealFileName onGetFileInfo:
1) setting of full path to file crahed application and OS (PSOD)
2) setting of file name only did not affect on renaming

What we are doing wrong?
Posted: 04/11/2014 10:45:08
by Eugene Mayevski (Team)

Our products may not be used in or exported to Russia. Due to this we won't be able to help you.

Sincerely yours
Eugene Mayevski
Posted: 04/14/2014 07:11:39
by Eugene Mayevski (Team)

1) Windows OS was not designed with case-sensitive filesystems in mind. Windows filesystems are case-preserving, but not case-sensitive. Due to this it's quite tricky to have support for case-sensitivity - beyond simply changing a property you need to adjust Windows registry on each computer.

2) From your question it is not clear, what you wanted to do. Changing the case of the file name should not be a problem without setting the filesystem as case-sensitive (cause, as said, filesystems are case-preserving).

Please try to turn OFF the CaseSensitive property and try to rename the file.

Inspect the callbacks being called during renaming (it can be not only OnRenameOrMove but also OnDeleteFile and OnGetfileInfo) and see what callbacks are called and what filename is passed to them.

Sincerely yours
Eugene Mayevski
Posted: 04/14/2014 07:45:32
by Sergey Sukhinin (Standard support level)
Joined: 04/11/2014
Posts: 2

I want to rename file BBB.txt in bbb.txt

This case works fine on Windows disk but does not work on CBFS (mapped as network drive)

Also tried when CaseSensitiveFileNames is disabled. But also without success.

No OnRenameOrMove callbacks are called in this case (BBB -> bbb).

In the case of renaming BBB.txt in ccc.txt it works fine (callback is called).
Posted: 04/14/2014 07:49:04
by Eugene Mayevski (Team)

Thank you for clarification. I'll move your question to the helpdesk for deeper investigation.

Sincerely yours
Eugene Mayevski



Topic viewed 1739 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!