overwriting the existing file using file write action
I am facing a little problem
I am writing .html
file from dynamic pages like
<cffile action="write" file="#filename#" output="#trim(content)#" />
but problem is that if file already exists, the file will not be overwritten but the last modified date and time are updated some how.
I have also tried to delete the file first if file already exists, but .html show still the old contents. But if I manually delete the file then the newly generated file has actual contents.
链接地址: http://www.djcxy.com/p/74070.html上一篇: 用户'DOMAIN \ MACHINENAME $'登录失败
下一篇: 使用文件写入操作覆盖现有文件