smbj icon indicating copy to clipboard operation
smbj copied to clipboard

Scan local network for SMB servers

Open zhanghai opened this issue 4 years ago • 3 comments

Thanks for creating this library! I'm working on SMB support in an open-source Android file manager called Material Files, and planning to support showing SMB servers available in the local network to help users setup their connection more easily.

I saw that in jcifs, one can use (new SmbFile("smb://")).listFiles() to list the available workgroups/servers (mailing list thread, javadoc). Is there anything similar in this library? I search for things like netbios or nbt in this repo, but didn't find anything.

zhanghai avatar Jun 01 '20 07:06 zhanghai

Did you find a solutions for this ?

CSAapps avatar Apr 21 '22 06:04 CSAapps

Yes, there is a way to do that:

I am able to do that in this way, but there is an issue, more details here - >https://github.com/hierynomus/smbj/issues/734#issue-1363135977

kaushikramabhotla avatar Sep 06 '22 11:09 kaushikramabhotla

@kaushikramabhotla : the link you posted doesn't work. Please check.

tdtran avatar Sep 18 '22 14:09 tdtran