Mime types are totally not standard. I would avoid using mime types for validation. Some could be correct, some could be octet streams. It's just not standardized.
Instead, do not use a mime type during upload. Upload the file and then check the server extension of the uploaded file. Might not "seem" as secure as denying a mime type, but it fairly safe in my experience. Remember that the computer attempts to execute a file based on its extension. You can't change an EXE file to a JPG and still "launch" it. It will try to run as a JPG and break. ....................... Ben Nadel www.bennadel.com -----Original Message----- From: Tim Do [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:33 PM To: CF-Talk Subject: Upload txt file Hello All, I'm trying to do a simple upload of a text file but I'm getting: The MIME type of the uploaded file "message/rfc822" was not accepted by the server. Only files of type "*.txt" can be uploaded. Verify that you are uploading a file of the appropriate type. plz help :) here is what I have: <cffile action = "upload" fileField = "abaFile" destination = "\\devone\insite\eft" accept = "*.txt" nameconflict="makeunique"> thx! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241258 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

