How make link to PDF file save by default

M

Mary

I have a link to a PDF file on my web site.

If anyone clicks on it the PDF file opens in a new window.

Is it possible to set it up so that if they click on it normally it
does the same as a right-click / save tartget as i.e opens the dialog
box asking where they want to save it?

If so, how??

Any help appreciated.
 
T

Tom [Pepper] Willett

You could put it in a zip file.
--
Tom [Pepper] Willett
Microsoft MVP - FrontPage
"You're a daisy if you do!"
---
FrontPage Support:
http://www.frontpagemvps.com/
===
:I have a link to a PDF file on my web site.
:
: If anyone clicks on it the PDF file opens in a new window.
:
: Is it possible to set it up so that if they click on it normally it
: does the same as a right-click / save tartget as i.e opens the dialog
: box asking where they want to save it?
:
: If so, how??
:
: Any help appreciated.
:
 
S

Stefan B Rusynko

You can't add a host header to a PDF

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Hello,
|
| This requires some ASP or other web programming language to modify the
| header:
|
| How To Raise a "File Download" Dialog Box for a Known MIME Type
| http://support.microsoft.com/kb/260519
|
| Otherwise, you can follow what Tom said and ZIP the file up.
|
| --
| Singapore Web Design
| http://www.bootstrike.com/Webdesign/
| Singapore Web Hosting
| http://www.bootstrike.com/WinXP/faq.html
| Windows XP FAQ
|
| | >I have a link to a PDF file on my web site.
| >
| > If anyone clicks on it the PDF file opens in a new window.
| >
| > Is it possible to set it up so that if they click on it normally it
| > does the same as a right-click / save tartget as i.e opens the dialog
| > box asking where they want to save it?
| >
| > If so, how??
| >
| > Any help appreciated.
|
|
|
 
M

Mike Mueller

Correct, you cannot add the header to the actual file

You can add the header to the properties of that file in IIS as stated in
that KB article.
-or-
you can create a server side script to open that file into a memory stream
and throw all the headers into it
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top