Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

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

  • 1 odgovor
  • 1 ima to težavo
  • 8 ogledov
  • Zadnji odgovor 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

Vsi odgovori (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