[jcifs] using jcifs for retrieving shares

Bogdan Cirstea bogdanc at graffiti.net
Wed Nov 13 22:51:11 EST 2002

i try to get the list of liles shared on a computer in my local network. i us for this: 
jcifs.smb.SmbFile file = new jcifs.smb.SmbFile("smb://computer_name");
jcifs.smb.SmbFile file_list[] = file.listFiles();

but i'be got jcifs.smb.SmbException: Access denied

do you know how i should do that ?
Get your free email from http://www.graffiti.net

Powered by Outblaze

More information about the jcifs mailing list