>From the cf documentation: The content type "application/x-www-form-urlencoded" is inefficient for sending large quantities of binary data or text containing non-ASCII characters. The content type "multipart/form-data" should be used for submitting forms that contain files, non-ASCII data, and binary data.
might be part of the problem. Jon -----Original Message----- From: Elizabeth [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 1: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 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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

