PDA

View Full Version : Script to force download of PDF file


amykhar
08-20-2002, 02:56 PM
By default, if a user has acrobat reader installed, the browser will open the files if you click on a link to a pdf file.

I am doing a site for a friend who is linking to 3 huge pdf files of product catalogs. She would like to have the pdf files downloaded and saved instead of viewed. She is also concerned about idiot users who can't grasp the right click and save target as bit.

Is there a way I can write a download script that will force the file to download instead of view?

Amy

amykhar
08-20-2002, 03:57 PM
Never mind :D Ended up having to do it in asp because of some other issues. It's done and it works :D

Amy