搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Hi, I cannot download a *diagcab link using the direct link. The link is http://www.sony-asia.com/support/resources/en_AP/SVC-AP-00000004.diagcab

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Hi, I cannot download a *diagcab link using the direct link. The link is http://www.sony-asia.com/support/resources/en_AP/SVC-AP-00000004.diagcab

Hi, I cannot download a *diagcab link using the direct link. The link is http://www.sony-asia.com/support/resources/en_AP/SVC-AP-00000004.diagcab

所有回覆 (4)

more options

Can't you right-click the link in your post and use Save Link as to save the file?

The server sends the file as Content-Type: text/plain, so Firefox will open the file in a tab if you left-click.
You can still use Save Page as in such a case to save the file to your computer.

more options

Hi Cor-el,

Thank you for your quick reply.

Yeah, it works when I use Save Link option. But why does the direct link works in Internet Explorer but not in Firefox?

more options

I want to understand why it happens. Is it only true for *.diagcab files? I have tried other links like direct link to open/save *.EXE file but it works.

Please advise.

Thank you for the help.

more options

This is caused by the server not being set up correctly.
IE does content sniffing and decides to do its own thing if it doesn't look like an HTML file or other code that can be rendered.
Firefox is a multi-platform application and thus would need considerably more effort.

Firefox always obeys the MIME (content) type as send by the server and in this case text/plain is received and that causes the file to get displayed in a browser tab.
In such a case you will have to save the file via other ways like I wrote above.