Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
colesc8 #1
MIME type Error
I have a cffile upload which accepts only rtf files. The code on the action
form is: <cffile action='upload' filefield='Form.file_upload'
destination='D:\inetpub\wwwroot\etc...' accept='application/rtf'> When I attach
an rtf file I get the message: The MIME type of the uploaded file
'application/octet-stream' was not accepted by the server. <br>Only files of
type 'application/rtf' can be uploaded. <br>Verify that you are uploading a
file of the appropriate type. Can someone explain what
application/octet-stream is and why it appears in the error message when it is
not included in the accept definitions? Would be enormously grateful, as ever.
colesc8 Guest
-
Verity Collection Mime type
I am indexing a ntext field in a SQL server 2000 database that contains partial html and/or plain text. On my dev and staging servers I can search... -
MIME type for .dat
i am using CFFILE to upload a tab delimited text file with a .dat extension and i want to restrict the file type to this using the accept argument... -
Mime Type for swf when using cffile?
I have been using cffile to upload PDF flyers when entering a training event on my company's website. I now want to upload swf flyers made from... -
Incorrect mime type
I've been using CFFILE to upload files with the accept type set to "text/*" to upload RTF files. Recently, some users are getting an error message... -
MIME-type to file extension
Hello. Is there any facility that will help one map a MIME-type to a file extension or extensions? E.g. 'image/jpeg' should map to ('jpg',... -
colesc8 #2
Re: MIME type Error
The documentation I was using to do the form was for ColdFUsion 7. I was using
ColdFusion MX. In the accept type I changed from 'application/rtf' to
'text/richtext'. It worked fine. Hope this maybe useful to anyone suffering a
similar problem
colesc8 Guest



Reply With Quote

