[Samba] Mac to windows File name conversion

Roy Mathew waytoroy at gmail.com
Wed May 16 03:01:46 MDT 2012


Thanks Volker.
We have an application to transfer file from mac to windows using
smb(JCIFS) and another application in windows to handle these files. But
when there is a invalid character like \ / : * ? " < > |  in filename , it
will get converted to another character. This creates issue in filename
comparison issues, since we are saving actual filename in database.
How smb converts these filenames?
Is there any specific rule for this character conversion, so that we can
use that converted characters in database?

Regards,
Roy Mathew

On 15 May 2012 19:07, Volker Lendecke <Volker.Lendecke at sernet.de> wrote:

> On Tue, May 15, 2012 at 07:05:02PM +0530, Roy Mathew wrote:
> > Hi All,
> >
> >    How Samba handles invalid characters like '/' while transferring file
> > from Mac to Windows?
> > When I tested with '/' it  got converted to unicode F022 in windows. How
> is
> > it happening?
>
> Last time I tested it was Finder magic. And it differed
> between Finder and Terminal.
>
> Volker
>


More information about the samba mailing list