When I download .csv files firefox changes the extention to /csv. How do I stop this?
When I download reports from loseit the file downloads with the extension as /csv rather .csv and I have to manually change it. The download works fine on other browsers but Firefox is my primary browser.
Alle antwoorden (3)
Hi ryeats, I don't think "/" is a legal character in a file name, so I don't understand why that would be in there. ??
Could you set Windows to show all file extensions (not just unusual ones), and see whether that helps? This article has the steps:
https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/
Using that It shows no extension at all. This is what's Driving me nuts... I've included a couple pictures to show the extension problem, and why I thought it was coming as a /csv.
I'm not familiar with the site, but I notice there is a , and a space in the third file name. So I have guess as to what the problem is.
To go into slight technical detail, sites often instruct Firefox to download a file using a Content-Disposition header with a value like:
attachment; filename="word word word.csv"
If the server does not include the quotation marks, Firefox stops reading at the first space, discarding the rest of the file name. This is not going to get fixed.
As a workaround, you could use an add-on. I have one that will add quotation marks during the download process so you get the whole name. When you install it, it's snoozing, and you can turn it on/off just for problem sites to avoid extra overhead on your requests.
https://addons.mozilla.org/firefox/addon/content-type-fixer/
If that lets Firefox get the whole name, I suggest telling the site about this problem so they can fix it on their end for all of their users. Or they can avoid using spaces in their file names and use _ instead.
Bewerkt door jscher2000 - Support Volunteer op