java.io.FilePermission

>From j2se/1.4.2 Javdocs: "Creates a new FilePermission object with the specified actions. path is the pathname of a file or directory, and actions contains a comma-separated list of the desired actions granted on the file or directory. Possible actions are "read", "write", "execute", and "delete"."

I am not sure of how to do the syntax though... is this accurate to people's knowledge? it does not appear to be working.

<cfobject type="JAVA" name="jFile" class="java.io.FilePermission" action=""
<cfscript>
newPermission = jFile.init('blah.rtf','write');
</cfscript>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to