[jcifs] Long share names and russian letters in filenames

Швец Андрей mactep at gorod.ru
Tue Jul 8 02:38:01 EST 2003


Hi, all jcifs developers!
 
I have the latest jcifs release 0.7.8, and recently I got stuck on 2 problems:
- Number one is that all shares with names longer than 12 symbols are not visible! (I'm using the listFiles() method, didn't try list())
- Number two is rather more specific, but still:
When I open an SmbFile with URL like "<some_path>/<last_name_in_russian>", it does open, but some operations like delete(), renameTo(), and maybe some other, are executed upon the "<some_path>/" file instead! So, when I tried to begin with URL like "<some_path>/<latin_letter><the_rest_in_russian>" the operations were executed with "<some_path>/<latin_letter>". The <some_path> part may contain Russian letters, and it works correctly, but whenever those letters are encountered after the last slash, they are ignored.
 
I suppose the second feature is a bug, but is the first a feature?
 
Best regards...
-------------- next part --------------

3j�Zr���
���y��v�����


More information about the jcifs mailing list