[jcifs] Smb - set on which port to connect to the remote host

Gergan Dimitrov gergan.dimitrov at gmail.com
Tue Aug 10 00:25:13 MDT 2010

Hi all,
I am trying to connect to a remote host on port different than the default
445. I have this in mind:
SmbFile smbFile = new SmbFile("smb://host:port/share/fileName",

Is that solution ok? Is there a way to specify the port as a parameter of a

Thank you in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20100810/c9a865dd/attachment.html>

More information about the jCIFS mailing list