Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

I wish to upload a PDF file to my website but Firefox 3.6.12 reports it as type application/force-download and NOT application/pdf, WHY?

  • 1 svar
  • 32 har detta problem
  • 9 visningar
  • Senaste svar av BarryPrice

more options

My website has been running for many months, and as part of the site users can upload PDF documents to share with others. The last successful upload was 5th Nov, but to-day my upload was rejected because Firefox returned the document type as application/force-download rather than application/pdf. Uploads work fine with IE8.

The site uses PHP to check extension and document type and, as I mentioned, has worked fine for many months. I have even attempted to upload the same document that succeeded on the 5th, but again Firefox returns application/force-download as the document type.

Why the change?

My website has been running for many months, and as part of the site users can upload PDF documents to share with others. The last successful upload was 5th Nov, but to-day my upload was rejected because Firefox returned the document type as application/force-download rather than application/pdf. Uploads work fine with IE8. The site uses PHP to check extension and document type and, as I mentioned, has worked fine for many months. I have even attempted to upload the same document that succeeded on the 5th, but again Firefox returns application/force-download as the document type. Why the change?

Alla svar (1)

more options

Just found a solution.

In Tools, Options, Application Firefox listed TWO options against Adobe Acrobat Documents; the apprliaction/pdf and application/force-download. I have deleted mimeTypes.rdf and allowed Firefox to re-create the file. All works as it should now!