well,
i found a way to get it to work, but it is by no way a true functional approach. If I submit the upload form, i will get the error, even though the file got uploaded. If i click back on the browser, and try it again, with the same file, it will work. Please note, that i have the cffile tag set to "makeunique" So what happens is, the original photo gets to the directory, but cffile wont output the timecreated variable. When I go back and resubmit the same photo, it will upload it again, make it a unique filename, and then output the timecreated. WTF?!?!?!?! I end up with the original and the duplicate w.unique filename in the directory. Could it be possible that it tries setting the local scope variable to cffile.timecreated before the file is finished uploading? Maybe it doesn't have that value yet, as I try setting the local scope variable immediately after the tag. Maybe the second time around is actually getting the original timecreatedvalue......????? This seems logical, but I don't know how cffile works at that level.... I've found nothing of this kind of problem on google, yahoo, anything, and I've spent all day looking. I'm going to hit borders tomorrow and read through some cf books, but I'm afraid they won't say much more than Macromedia's livedocs, or forta's faqs...
I'm going to get a better disertation together for this one, try some more cases, try and narrow it down..... I need this to work, no way around it. I've tried restarting the server, as well as cfserver. Nothing fixes it. But it works the way I described it above.