h21735 s 00000/00000/00021 d D 1.4 96/06/27 09:28:17 mrm 5 4 c putback the fix this time e s 00000/00000/00021 d D 1.3 96/06/25 12:08:35 mrm 4 3 c fixed broken link e s 00001/00001/00020 d D 1.2 96/06/25 12:06:11 mrm 3 1 c fixed broken link e s 00000/00000/00000 d R 1.2 95/12/11 22:02:10 Codemgr 2 1 c SunPro Code Manager data about conflicts, renames, etc... c Name history : 2 1 sfaq/example/deleteFile.html c Name history : 1 0 people/mrm/sfaq/example/deleteFile.html e s 00021/00000/00000 d D 1.1 95/12/11 22:02:09 mrm 1 0 c date and time created 95/12/11 22:02:09 by mrm e u U f e 0 t T I 1 Java Security FAQ: Delete a File

Java Security FAQ: Delete a File


Here's an applet that tries to delete a file by invoking the File.delete() method on a File object:

Here's the source.

Conclusion: Applets can't delete files using the File.delete() method.

D 3 Back to the Java Security FAQ E 3 I 3 Back to the Java Security FAQ E 3 E 1