Let's assume that we have a path /path/to/file that is lowercase. Now on the file system the name of the file is /path/to/File.
How to check if file has correctly the same name.
NSFileManager attributesOfItemAtPath:error:
NSFileManager fileExistAtPath:
all return YES for both cases. Is there a way to get file system represtentation of the path and compare strings or is there any other extended method to check if file exists with case sensitive name.