Opening connection to server taes about 15 seconds

"Jose Luis Martinez Avial" <[email protected]>
Newsgroups gmane.network.samba.java
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.