搜尋 Mozilla 技術支援網站

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

Learn More

Firefox behaves differently with different PDF docs on my web site

  • 1 回覆
  • 0 有這個問題
  • 11 次檢視
  • 最近回覆由 DaveRo

more options

I am running Firefox 3.6.6 on Windows 7 Home Edition. When I update a PDF file on my web site, and I try the updated web page in my browser, Why does my browser prompt me to save the file with the updated file, but it displays inside the browser with other pdfs on my site? I get the same results with IE. The files are very similar, but yet, the browsers treats them differently.

I am running Firefox 3.6.6 on Windows 7 Home Edition. When I update a PDF file on my web site, and I try the updated web page in my browser, Why does my browser prompt me to save the file with the updated file, but it displays inside the browser with other pdfs on my site? I get the same results with IE. The files are very similar, but yet, the browsers treats them differently.

所有回覆 (1)

more options

Possibly because when you access the file from your hard disk (I assume that's what you mean by "try the updated web page in my browser") and when you access it from a webserever, the file type is different. If you're brought up with windows you might think that the file type is determined by the extension (.pdf) but it's not. Depending on the webserver, your operating system, and your browser, it ought to depend on the 'mime type'

So try uploading the amended page to your webserver (in a test area) and see if it works off the web.