JCIFS: file retrieval is too slow to be usable

后端 未结 7 1510
北海茫月
北海茫月 2020-12-05 05:57

I was just testing JCIFS for accessing Windows shares. It is very slow to the point of being completely unusable.

import jcifs.smb.*;

class First {
    publ         


        
7条回答
  •  感动是毒
    2020-12-05 06:23

    If you can rely on "something else" to mount the share as a local directory for you, then reading files in the mounted share in Java should be portable.

    Even if this is not a real solution, it would be worth trying this to see if you get a faster read rate. A significantly faster read rate might change your mind about the relative importance of portability. And if you don't get a significant speedup, then you'll know that JCIFS is not to blame ...

提交回复
热议问题