Lucee Function Reference
Function FILESETATTRIBUTE
For the given path, sets the file attributes.
Example
filesetattribute(any source,string attribute):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
source | any | Yes | file path |
attribute | string | Yes |
One of the following: Set the attribute to normal to make a file not read-only and not hidden. |