ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

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

  • 1 პასუხი
  • 1 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 8 ნახვა
  • ბოლოს გამოეხმაურა cor-el

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

ყველა პასუხი (1)

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