Can anyone think of a way, maybe using HTTP headers to force a PDF on a Domino site to download, rather than opening in a browser?
(The reason is that it is a fill-inable form and tons of problems these days when fill-in-able forms open inside various browser windows, it's so broken.)
I know about making the file a zip file but that's a pain for mobile users and assistive devices, so don't want to go there. And I only want to force this PDF to download, not every other PDF on the site.
I'll keep trying but thought it was worthwhile to ask as well.
I found suggestions about how to do it on apache and amazon, if this serves as any inspiration.
<FilesMatch ".(?i:pdf)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
4. Upload this file into the 'pdf' folder and rename this file to .htaccess
Done. Now all pdf files in that folder will be prompted to download rather than view online.
If you are hosting the pdf file on Amazon S3, just right click on the pdf file and select 'Set HTTP Headers'
Then click on 'Add' > 'Content-Disposition' > 'attachment; Filename=' > Ok.