Whatever message this page gives is out now! Go check it out!
FileExists(absolute_path) |
| Parameter | Description |
absolute_path | The absolute path of the on-disk or in-memory file. |
<cfscript>
theDir=GetDirectoryFromPath(GetCurrentTemplatePath());
theFile=theDir & "Sample files/IsValid2.cfm";
fileExist = FileExists(theFile);
writeoutput("Does the file exists" & "<br>" & fileExist);
</cfscript>