Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Овај сајт ће имати ограничену функционалност док га будемо ажурирали у циљу побољшања вашег искуства. Ако неки чланак не реши ваш проблем и желите да поставите питање, на располагању ће вам бити наше заједнице подршке @FirefoxSupport на Twitter-у и /r/firefox на Reddit-у.

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Downloads Do Not Save With Correct File Extenstion

more options

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.

Изабрано решење

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.

Прочитајте овај одговор са објашњењем 👍 0

Сви одговори (4)

more options

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

more options

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).

more options

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!!

more options

Одабрано решење

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.