Content-Disposition
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)
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:
- File Title: https://addons.mozilla.org/firefox/addon/834
- Title Save: https://addons.mozilla.org/firefox/addon/712