October 16th, 2003, 07:27 AM
cffile append not working when called via cfhttp
I have a file which should write a html log file every time it is run.
If I run it directly (via url entry) it writes to the file. If however I run a script to call the file via a <cfhttp> (which is the way I want to do it) it doesn't write to the file.
Any ideas why?
October 16th, 2003, 07:26 PM
I'd say it must be something in the code or in the application, because CFHTTP acts exactly like a user making the request from a browser. Can you confirm that the *exact same* URL called via your browser is being used by the CFHTTP call?
October 17th, 2003, 04:19 AM
It was all calling it the same, however I haven't changed anything (that I know of) that will affect it, but it now works... how odd.