"My question, and this is more out of curiosity than anything, is how does CF "remember" the original user's file name of "myFile.txt" between steps 3 and 4 above. Looking through the various scopes doesn't seem to reveal it. The form field, as you mentioned is a random name in a temporary directory."
I do not know for sure, but I presume the file name was passed with the rest of the http data. Whether that is completely internal or is exposed in some location I do no know, I have never looked for it. If it is exposed, my primary suspect would be the cgi scope. That is where everything else provided by the web server layer goes. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290785 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

