[jcifs] Opening connection to server taes about 15 seconds

Jose Luis Martinez Avial jlmartinez at pb-santander.com
Wed Oct 26 22:20:06 MDT 2011


Hi all,

       I'm using jcifs 1.3.8 to save a document to a shared folder in a
windows server. For some reason the connection is taking about 15
seconds to be opened, while the copy itself is pretty much
instantaneous.

 

NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("domain
","user","password");

String path = "smb://x.x.x.x/eco/document.pdf";

SmbFile sFile = new SmbFile(path, auth);

SmbFileOutputStream sfos = new SmbFileOutputStream(sFile);

[... write on the sfos ...]

sfos.close();

 

Any suggestion on where the problem may be?

 

TIA

 

Jose Luis



Internet communications are not secure and therefore Banco 
Santander International does not accept legal responsibility for 
the contents of this message. Any views or opinions presented 
are solely those of the author and do not necessarily represent 
those of Banco Santander International unless otherwise 
specifically stated. 

Las comunicaciones v'ia Internet no son seguras y, por lo tanto,
Banco Santander International no asume responsabilidad legal 
ni de ning'un otro tipo por el contenido de este mensaje. 
Cualquier opini'on transmitida pertenece 'unicamente al autor y 
no necesariamente representa la opini'on de Banco Santander 
International, a no ser que est'e expresamente detallado.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20111027/f7502dfe/attachment.html>


More information about the jCIFS mailing list