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!

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Cannot download files with extension cdp, get hex dump instead. Have tried Options/Applications but problem persists.

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 8 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options

I run a website from which visitors can download 3D models (for a railsim) in the form of compressed files with the cdp extension. When I click on the links in my webpage using another browser it immediately offers me the open or save as dialogue box. When I click on the webpage links in Firefox I get a screen showing what I imagine is a hex dump i.e. Firefox appears to be trying to read the file rather than offer it as a download, which is what I want. I have tried the Options/Applications settings. The cdp extension is set to 'Save File', but it doesn't. Any logical explanation would be very welcome, and hopefully a solution. Thanks

I run a website from which visitors can download 3D models (for a railsim) in the form of compressed files with the cdp extension. When I click on the links in my webpage using another browser it immediately offers me the open or save as dialogue box. When I click on the webpage links in Firefox I get a screen showing what I imagine is a hex dump i.e. Firefox appears to be trying to read the file rather than offer it as a download, which is what I want. I have tried the Options/Applications settings. The cdp extension is set to 'Save File', but it doesn't. Any logical explanation would be very welcome, and hopefully a solution. Thanks

Wszystkie odpowiedzi (1)

more options

If Firefox opens the file in a tab then that means that the server probably sends the file as text/plain and in that case you need to configure to send the file with the correct content (MIME) type.
Otherwise you need to right-click the link and choose "Save Link as" or hold down the Alt key and left-click (Windows only).

See https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types