>>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"

The original name is transmitted in the HTTP request by the browser.
This is the purpose of the "multipart" in the ENCTYPE attribute of the form.
One of the parts contains the file name, another the encoded file.
When the HTTP server receives the information, it stores the encoded file
in a temporary location, passes the temporary file name in the form 
field to CF.
CF is responsible to decode the file, including the file name and to 
store it wherever the programmer
decided, this is the purpose of the CFFILE upload.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290794
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to