[jcifs] Using non-ascii smbfilenames

Talbo David chukhonets at hotmail.com
Sat Feb 2 16:53:57 EST 2002


Hi I'm new to the list and jCIFS but already really impressed the API seem 
very robust. Quite a feat!

We're working on a project to give web (servlet) access to an NT Fileserver
and have run up against a problem with Japanese encoded filenames.


Any pointers would be really appreciated. I couldn't find any references in
the Smb URL spec or the archives.

Here's what we get calling list() on an SmbFile with Japanese name.

Exception in thread "main" jcifs.smb.SmbException: File not found
         at jcifs.smb.SmbTransport.sendTransaction(SmbTransport.java:633)
         at jcifs.smb.SmbSession.sendTransaction(SmbSession.java:117)
         at jcifs.smb.SmbTree.sendTransaction(SmbTree.java:52)
         at jcifs.smb.SmbFile.sendTransaction(SmbFile.java:449)
         at jcifs.smb.SmbFile.list(SmbFile.java:1004)
         at jcifs.smb.SmbFile.list(SmbFile.java:992)
         at List.main(List.java:20)

Thanks
Daisuke





_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com





More information about the jcifs mailing list