[jcifs] SmbFile exists()

Newman diputs_mai at yahoo.com
Wed Oct 31 13:17:29 EST 2001


when exists() is called on a valid url but the
piticular computer is down exists still returns true.

ex

SmbFile hostpc = null;
try{hostpc = new
SmbFile("smb://129.2.205.188");}catch(Exception
e){System.err.println(e);System.exit(1);}
if(hostpc.exists())
{System.out.println("computer exists");} 

if 129.2.205.188 is off line "computer exists" still
prints.

-newman

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com




More information about the jcifs mailing list