• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cffile accept="application/msword" problem with Firefox

Explorer ,
Feb 22, 2007 Feb 22, 2007

Copy link to clipboard

Copied

I'm having problem with Firefox and upload of Word doc files. Here is the code:

<cffile accept="application/msword,application/pdf,text/html,text/htm" action="upload" destination="#base#" nameconflict="makeunique" filefield="fileName">

It works fine in IE 6&7.

In Firefox if user tries to upload a MS Word doc it gets this error message:

The MIME type of the uploaded file "application/unknown" was not accepted by the server.

No problems with pdf's, html's and htm's files.

Any idea?
Thanks,
b.
TOPICS
Advanced techniques

Views

854

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Mar 07, 2007 Mar 07, 2007
Thanks,
You were right. It was my computer. I've copied MimeTypes.rdf from another computer and now it works.
b.

Votes

Translate

Translate
Explorer ,
Feb 22, 2007 Feb 22, 2007

Copy link to clipboard

Copied

I'm using Firefox 2 and Word 2003 versions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 04, 2007 Mar 04, 2007

Copy link to clipboard

Copied

Anyone?
Why Firefox doesn't recognize the MIME type application/msword?
By the way, I've tried uploading excel and it works with this code:
accept="application/vnd.ms-excel"
Thanks,
b.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 05, 2007 Mar 05, 2007

Copy link to clipboard

Copied

Firefox stores its mime type references in a file called MimeTypes.rdf under your user profile that can become corrupted or vary from user to user. Have you tried anything to isolate that this issue isn't due to your particular Firefox installation - like testing the form on a different computer?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 07, 2007 Mar 07, 2007

Copy link to clipboard

Copied

LATEST
Thanks,
You were right. It was my computer. I've copied MimeTypes.rdf from another computer and now it works.
b.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation