[jcifs] How to predix password for files sharing list???

nur hanis nurhannis at hotmail.com
Tue Apr 16 13:28:27 EST 2002


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://");
String[] files = conn.list();
    	  if( files != null ) {
            for( int i = 0; i < files.length; i++ ) {
                System.out.println(files[i] );
        } else {
            System.out.println( "no such file or directory" );


Join the world’s largest e-mail service with MSN Hotmail. 

More information about the jcifs mailing list