搜尋 Mozilla 技術支援網站

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

了解更多

Content-Disposition

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

more options

In my page "download.aspx", it responses one zip file client. HTTP header had headers as follows: Content-Disposition: attachment; filename=test.zip and Content-Type: application/zip. When i clicks on link "download.aspx", FF download diaglog ask save with file name is "download.aspx". It should be "test.zip". This does not occur on IE. Could you help me?

In my page "download.aspx", it responses one zip file client. HTTP header had headers as follows: '''Content-Disposition: attachment; filename=test.zip''' and '''Content-Type: application/zip'''. When i clicks on link "download.aspx", FF download diaglog ask save with file name is "download.aspx". It should be "test.zip". This does not occur on IE. Could you help me?

由 glory209 於 修改

所有回覆 (1)

more options

You can try to increase the timeout: http://kb.mozillazine.org/browser.download.saveLinkAsFilenameTimeout

I don't know if any of these will help in this case: