Getting list of files present in a directory on client hard disk using signed applet.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, April 12, 2001 09:10 AM

How can I get the list of all files present in a directory on client machine
through signed applet?

I tried using File object ...such as this...
**********************************
File clientfolder= new File("C:\test");

String[] fileList = null;

if(clientfolder.isDirectory())
fileList = clientfolder.list();
***********************************
but it gives exception :

com.ms.security.SecurityExceptionEx[Host]: cannot access file C: est

Re: Getting list of files present in a directory on client hard disk using signed applet.

Posted By:   John_Zukowski  
Posted On:   Friday, April 20, 2001 02:04 PM

Sign your code, trust your applet. Already covered in the FAQ.
About | Sitemap | Contact