Skip to main content
michaelg53080893
Participant
June 5, 2016
Answered

How do I, as a creator, force my pdf file to open as document instead of in a browser.

  • June 5, 2016
  • 1 reply
  • 705 views

Hello,

I have created a PDF form that I am going to place on my website.
If my visitors download this file, i want it to be opened in the adobe application instead of the browser.

How can I force this document to do this?

This topic has been closed for replies.
Correct answer George_Johnson

There's nothing you can do to the PDF to force a web browser to download the file. You can configure the web server to emit certain headers that instruct browsers to download, but some browsers may ignore them and attempt to display in the browser anyway. Here's a random link to a discussion of the idea: http://stackoverflow.com/questions/2598658/how-to-force-a-pdf-download-automatically

1 reply

George_JohnsonCorrect answer
Inspiring
June 5, 2016

There's nothing you can do to the PDF to force a web browser to download the file. You can configure the web server to emit certain headers that instruct browsers to download, but some browsers may ignore them and attempt to display in the browser anyway. Here's a random link to a discussion of the idea: http://stackoverflow.com/questions/2598658/how-to-force-a-pdf-download-automatically