I have PDF file for download by users on my website.
Is there a way to instruct Chrome not to view the PDF in the users browser when the user clicks the link to the PDF, but instead download the PDF to the users download folder instead? Or at least instruct Chrome to ask the user whether he wants to view the PDF in the browser or download it (rather than just viewing in browser automatically) ?
Thanks :)
Content-Disposition
header mentioned in the link in the first comment is the right way to do this.