Rick Wright wrote:
Quote:
What if it's a pdf file. How do you get a pdf file to download. Using <a
href="../test.pdf"> only opens the pdf file in adobe reader.
Is there a way to have the file download? Thanks - Rick |
If the user does not have adobe reader configured to open the file, it will
just download. It is up to the user what action they want their browser to
take. The user can (normally) right click the link and ask for the file to
be downloaded.
If you have access to server side scripting language (e.g. php) you can set
the headers so that the browser will not recognise the file as a pdf file
and will download it anyway.