Re: [Samba] Mac to windows File name conversion

2012-05-16 Thread Roy Mathew
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.lende...@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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Mac to windows File name conversion

2012-05-16 Thread Volker Lendecke
On Wed, May 16, 2012 at 02:31:46PM +0530, Roy Mathew wrote:
 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?

I do not see Samba in the picture jcifs-Windows. Please
contact the jcifs developers about this question.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Mac to windows File name conversion

2012-05-15 Thread Roy Mathew
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?


Regards,
Roy Mathew
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Mac to windows File name conversion

2012-05-15 Thread Volker Lendecke
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

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba