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 @FirefoxSupport on Twitter and/r/firefox on Reddit.

Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

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

  • 1 răspuns
  • 1 are această problemă
  • 8 vizualizări
  • Ultimul răspuns de 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

Toate răspunsurile (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