If you are facing this issue, check whether the server you are connecting to supports case-sensitive file names. If the server supports it, then while using the macOS Native Drive type of disk mounting, the file system on your system drive must be case-sensitive.

If it's not want you need, install FUSE and use macFuse Drive type of disk mounting