You can find the CFFiddle demo of this function and other file functions as part of a project that is shared with you.
Click the button below to launch CFFiddle.
To copy the project in your workspace in CFFiddle, follow the steps below:
Sets the attributes of an on-disk file in Windows. This function does not work with in-memory files.
FileSetAttribute(filepath, attribute) |
FileCopy, FileDelete, FileExists, FileMove
ColdFusion 8: Added this function.
Parameter |
Description |
|---|---|
filepath |
An absolute path to a file on the server. |
attribute |
One of the following:
|
The following example sets the access mode of a file to be read-only.
<h3>FileSetAttribute Example</h3>
|
Sign in to your account