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
The solution added by @Xolve0 worked for me as well. The buffer issue in the SmbFileInput
is also present when trying to write files. I used the same BufferedInputStream(new SmbFileInputStream(sFile))
to make the time execution decrease from 90secs to less than a second for a plain text file.
A quick way to identify this specific issue would be to track the time between the opening of the JCIFS
path and the write of the file itself.