Posted by robhyland on 10th September 2009

cffile: copy vs upload

I spent about an hour debugging today because I couldn’t figure out where an uploaded file was going. It was disappearing when the <cffile action="upload"> tag was used. I eventually decided to try to just copy the file, using <cffile action="copy">, and it threw a permissions error. I am not sure why the other method did not, but it would have saved me a lot of time if it did. 

No comments yet!

Post your comments