[jcifs] Enum Share (UNC?) and Mapped Directories (PATH)

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Fri Apr 11 08:26:30 EST 2003


import jcifs.smb;
...
String shareNames[] = (new SmbFile( "smb://server/" )).list();

> -----Original Message-----
> From:	dreamwvr at dreamwvr.com [SMTP:dreamwvr at dreamwvr.com]
> Sent:	Thursday, April 10, 2003 4:26 PM
> To:	jcifs at lists.samba.org
> Subject:	[jcifs] Enum Share (UNC?) and Mapped Directories (PATH)
> 
> Hi,
>   Was hoping someone could clarify a few things for me:
> I would like to replicate this in java.
> http://www.mvps.org/vbnet/code/network/netshareenum.htm
> Is there already a sample application that just needs to be 
> tweaked. Since NetShareEnum.java exists I am assuming I am 
> on the right track. Which classes does one need to be 
> concerned with in order to do this. I am not familiar 
> with this package. However it sure looks like its the one.
> 
> TIA
> Best Regards,
> dreamwvr at dreamwvr.com



More information about the jcifs mailing list