• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

case sensitiveness on samba share

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

does anyone know how to solve this case sensitive/insensitive filename problem?
I only known a case insensitive filename for example "myfile.txt". Actually the file is stored as "MYFILE.txt".

On windows I can open it regardless of how it is actually stored and with the getCanocialPath method I get the real filename.

Trying this on Linux with an Samba share, does also open the file, but I don't get the real filename.

The linux console does show the filename "MYFILE.txt" so I don't think it's a samba problem. Is there a way to get the real filename?
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
*nix operating systems including Linux are case-sensitive. That is, the file names "myfile.txt" and "MYFILE.txt" would refer to two different files.
 
reply
    Bookmark Topic Watch Topic
  • New Topic