[jcifs] How to predix password for files sharing list???
nur hanis
nurhannis at hotmail.com
Tue Apr 16 13:28:27 EST 2002
Hi,
Actually, I am new in jcifs. I just try the code for list the shares file
for certain host in network... then, how can i know the file sharing using
password or not???then...if it use...how can i predix the password??
how..anyone can help.... here the code for list file...
**************
SmbFile conn = new SmbFile("smb://192.168.42.166");
String[] files = conn.list();
if( files != null ) {
for( int i = 0; i < files.length; i++ ) {
System.out.println(files[i] );
}
System.out.println();
} else {
System.out.println( "no such file or directory" );
}
*************
thanks...
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the jcifs
mailing list