Click to See Complete Forum and Search --> : open the "download dialog" not Acrobat


tamayo
02-15-2007, 11:14 AM
Hi, I´m trying to do an option to download some pdf files, if I use <a href="docs/DOC_NAME.pdf><img src="down.gif"></a> the result is that Acrobat reader open the file in the current window, but i want that the "download dialog" appears not Acrobat Reader. how can I do this?

Charles
02-15-2007, 11:33 AM
There is nothing that you can do to force that behavior. It's controlled by the browser and the user's settings. However, you can strongly suggest it by changing the HTTP header content type to "application/octet-stream". You'll need, however, to get into your server's nitty gritty.

maryb86
02-15-2007, 01:10 PM
An alternative is to zip it and link to doc_name.zip. With a zip it will always give a download box.