X
Tap here to go to the mobile version of the site.

Support Forum

When I download .csv files firefox changes the extention to /csv. How do I stop this?

Posted

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.

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

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

More Information

jscher2000
  • Top 10 Contributor
7925 solutions 64669 answers

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/

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/
Was this helpful to you?
Quote

Question owner

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.

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.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
7925 solutions 64669 answers

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.

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.

Modified by jscher2000

Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.