X
Tryk her for at gå til webstedets mobilversion.
Scheduled maintenance: Thursday, April 2, between 3pm and 5pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

Supportforum

Downloads Do Not Save With Correct File Extenstion

Skrevet

Hi,

Firefox is defaulting to saving all downloaded files in .PDF Format when the file is not a .PDF file. For example, if you goto this link http://usa.denon.com/us/product/hometheater/avreceiversht/avrx4100w Downloads Denon S Series - X Series RS232 IP Protocol 2014 The file being downloaded is a .xlsx. However, Firefox will only save it as a .pdf file. When you save and then try and open you get a corrupted PDF file. Of course it is not corrupted FireFox is defaulting to PDF.

How do you get Firefox to download a file and save in the actual format of the file?

Chrome does this with no extra settings or setup. Download and save the file in Chome it saves as .xlsx file.

Hi, Firefox is defaulting to saving all downloaded files in .PDF Format when the file is not a .PDF file. For example, if you goto this link http://usa.denon.com/us/product/hometheater/avreceiversht/avrx4100w Downloads Denon S Series - X Series RS232 IP Protocol 2014 The file being downloaded is a .xlsx. However, Firefox will only save it as a .pdf file. When you save and then try and open you get a corrupted PDF file. Of course it is not corrupted FireFox is defaulting to PDF. How do you get Firefox to download a file and save in the actual format of the file? Chrome does this with no extra settings or setup. Download and save the file in Chome it saves as .xlsx file.

Valgt løsning

I don't know how to feel about it. Mozilla often doesn't fix things when the problem is that websites do not follow proper techniques, to push developers to become more standards compliant. IE and Chrome have more of an attitude that they will protect users from some incorrect practices even if that allows sites to be a bit lazy. When more people used Firefox, I think Mozilla's way was helpful and had the intended effect, but now, I wonder whether it still is/does.

Læs dette svar i sammenhæng 0

Yderligere systemdetaljer

Installerede plugins

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.11
  • A plugin to detect whether the Adobe Application Manager is installed on this machine.
  • Citrix Online App Detector Plugin
  • Google Update
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • NVIDIA 3D Vision Streaming plugin for Mozilla browsers
  • NVIDIA 3D Vision plugin for Mozilla browsers
  • Shockwave Flash 18.0 r0
  • 5.1.40416.0
  • Sling Player 2.4.0.157
  • npTimeGrid-v-3.1.0.221111

Program

  • Firefox 40.0.2
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
  • Support-URL: https://support.mozilla.org/1/firefox/40.0.2/WINNT/en-US/

Udvidelser

  • Adobe Acrobat - Create PDF 2.0 (web2pdfextension@web2pdf.adobedotcom)
  • RoboForm Toolbar for Firefox 7.9.14.4 ({22119944-ED35-4ab1-910B-E619EA06A115})
  • WebSlingPlayer 2.4.0.157 ({9EB34849-81D3-4841-939D-666D522B889A})
  • Norton Toolbar 2015.5.2.16 ({2D3F3651-74B9-4795-BDEC-6DA2F431CB62}) (Inactive)

Javascript

  • incrementalGCEnabled: True

Grafik

  • adapterDescription: NVIDIA GeForce 9400 GT
  • adapterDescription2:
  • adapterDeviceID: 0x0641
  • adapterDeviceID2:
  • adapterDrivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterDrivers2:
  • adapterRAM: 1024
  • adapterRAM2:
  • adapterSubsysID: 0562196e
  • adapterSubsysID2:
  • adapterVendorID: 0x10de
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.17292
  • driverDate: 7-2-2014
  • driverDate2:
  • driverVersion: 9.18.13.4052
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d 1.1', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d 1.1', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • supportsHardwareH264: True
  • webglRenderer: Google Inc. -- ANGLE (NVIDIA GeForce 9400 GT Direct3D11 vs_4_0 ps_4_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Ændrede indstillinger

Diverse

  • User JS: Nej
  • Tilgængelighed: Ja
Luk

Nyttigt svar

I uninstalled Firefox and reinstalled. Same problem. I Refreshed Firefox. Same problem.

I uninstalled Firefox and reinstalled. Same problem. I Refreshed Firefox. Same problem.
jscher2000
  • Top 10 Contributor
8956 løsninger 73389 svar

Nyttigt svar

I see the problem with that link, and this is something that probably needs to be fixed on the server.

The first screen shot shows that Firefox thinks it is a PDF and that its name is Denon, to which Firefox is going to add .pdf. This is not what the site intended.

The second screen shot shows the source of the confusion. The site is informing Firefox that the file is application/pdf, which is why Firefox think it is a PDF. The site is sending a filename that ends with .xlsx BUT it is sending the file name with spaces. Firefox only reads to the first space and truncates the file name.

Ideally, the site would fix both of those things. However, simply fixing the spaces would give you the behavior of Chrome, which is to save the file with its intended extension even though the site said it is a PDF.

I can't recall whether there is any workaround/add-on for this on the browser side (to force Firefox to read past the first space in the filename parameter).

I see the problem with that link, and this is something that probably needs to be fixed on the server. The first screen shot shows that Firefox thinks it is a PDF and that its name is Denon, to which Firefox is going to add .pdf. This is not what the site intended. The second screen shot shows the source of the confusion. The site is informing Firefox that the file is application/pdf, which is why Firefox think it is a PDF. The site is sending a filename that ends with .xlsx BUT it is sending the file name with spaces. Firefox only reads to the first space and truncates the file name. Ideally, the site would fix both of those things. However, simply fixing the spaces would give you the behavior of Chrome, which is to save the file with its intended extension even though the site said it is a PDF. I can't recall whether there is any workaround/add-on for this on the browser side (to force Firefox to read past the first space in the filename parameter).

Spørgsmålsstiller

Appreciate the helpful response!! I contacted Denon with your recommendations and hopefully they will resolve on the server side to avoid this problem in the future.

One thing I do see quite often is that FireFox usually seems to have the most trouble with attachments, opening PDF's, etc. and Google Chrome seems to be the most reliable. I prefer Firefox and use it as my default, but I find myself using Chrome when I run into the above type issues.

Thanks again for the help!!

Appreciate the helpful response!! I contacted Denon with your recommendations and hopefully they will resolve on the server side to avoid this problem in the future. One thing I do see quite often is that FireFox usually seems to have the most trouble with attachments, opening PDF's, etc. and Google Chrome seems to be the most reliable. I prefer Firefox and use it as my default, but I find myself using Chrome when I run into the above type issues. Thanks again for the help!!
jscher2000
  • Top 10 Contributor
8956 løsninger 73389 svar

Valgt løsning

I don't know how to feel about it. Mozilla often doesn't fix things when the problem is that websites do not follow proper techniques, to push developers to become more standards compliant. IE and Chrome have more of an attitude that they will protect users from some incorrect practices even if that allows sites to be a bit lazy. When more people used Firefox, I think Mozilla's way was helpful and had the intended effect, but now, I wonder whether it still is/does.

I don't know how to feel about it. Mozilla often doesn't fix things when the problem is that websites do not follow proper techniques, to push developers to become more standards compliant. IE and Chrome have more of an attitude that they will protect users from some incorrect practices even if that allows sites to be a bit lazy. When more people used Firefox, I think Mozilla's way was helpful and had the intended effect, but now, I wonder whether it still is/does.