Way to force download of PDF files versus opening in browser on Domino?

I am looking for a way to force a PDF file to be saved (downloaded and saved) versus opening and viewing the file in a browser automatically because it is a known mime type.

We are building a catalog of very large PDF files and would like to create a link to force a download of the PDF file. I have found such script/code example for both PHP and JSP, and was hoping someone had created such a beast in LotusScript.

Any help or examples are appreciated.

Thanks-

Randy

Subject: Way to force download of PDF files versus opening in browser on Domino?

Step 1.: The Script-------------------

Insert the following script in the head of the page:

Step 2.: The Body Tag Interlock


Include the following onload event call in the body tag. This stops

the script from functioning until the page is fully loaded.

Step 3.: The Link


To call the script from the page and activate the SaveAs dialog,

insert a link in the page like this:

Click Here To Save This Page

cheers, Tom

Subject: RE: Way to force download of PDF files versus opening in browser on Domino?

Tom,

Thanks for the script. I reviewing the script (and the original script found @codefoot.com) it appears to only work for saving the content of the page it is part of (e.g. the html source). I am trying to force a download of a PDF file specified from a link on the page.

Anyone else have any suggestions?

-Randy