The error message indicates that the mime type of the uploaded file is "x/msword" not "application/msword". The first thing I would try is adding "x/msword" to the list of the accept attribute.
-----Original Message----- From: Elizabeth [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 12:51 PM To: CF-Talk Subject: cffile rejecting some files I'm hoping someone can shed some light here. I have a small app that I have inherited. It is used to allow the public (no login required/ and yes I know this is a security issue) to upload word docs for review for possible presentation topics at conferences. The problem is occassionally the app is rejecting ms word docs even though they have been included in the 'accept' attribute. Of course everything works fine when I try and test it. Below is the cffile tag I'm using and below that a copy of a recent error message. Any ideas why it rejects some and accepts others? <CFFILE action="UPLOAD" accept="text/plain, application/msword, text/richtext" filefield="manuscript_file" destination="#apppath#" nameconflict="MAKEUNIQUE"> Error Occurred While Processing Request Error Diagnostic Information Error processing CFFILE tag The MIME type of the uploaded file (x/msword) was not accepted by the server. Please verify that you are uploading a file of the appropriate type. The error occurred while processing an element with a general identifier of (CFFILE), occupying document position (82:2) to (86:30). Date/Time: 04/05/02 04:54:42 PM Browser: Mozilla/4.7 [en] (Win98; U) Remote Address: 128.249.70.32 HTTP Referer: Query String: RequestTimeout=600 ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

