CFFILE not creating new file
Posted on 2006-11-19
I have a function that creates a new file for logging: Here is a snippet of the code:
//logpath contains the DIRECT link to the folder in which the file to be saved
<cffile action="append" file="#logPath#" output="#content#" addnewline="yes">
Now, this code was working and the after some more testing (i deleted the file to ensure coldfusion would create the new file again) AND then this an error occured saying the file cannot be found. But isnt it supposed to create it?
Your help is greatly appreciated,