Retrieves information about a file.
The filename, path, parent directory, type, size, when the file was most recently modified, whether the file has read permission, write permission, and is hidden.
GetFileInfo(path)
ColdFusion 8: Added this function.
| Parameter | Description | 
|---|---|
| path | Absolute path (drive, directory, filename, and extension) | 
The function returns a structure that includes the following keys:
<cfscript>
    FileSetLastModified("c:\temp\test1.txt", "#Now()#");
    WriteOutput(#GetFileInfo("c:\temp\test1.txt").lastmodified#);
</cfscript>