hyperlink to automatically open "save target as"

C

crawler

I want to set up a link that, rather than fire up a page, instantly opens
"save target as" so that folk have to download the page to their machine.
Some of my users want this rather than PDF files. Any ideas?
 
M

Mark Fitzpatrick

Unfortunately, you can't do it. There is nothing in HTML that will let you
define this as this function is handled solely by the browser and it's
interpretation of known filetypes. The only thing that you can do to avoid a
browser from opening a file it knows it has a viewer for is to put the file
into a .zip file because the browser won't open .zip files.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
S

Stefan B Rusynko

If the browser recognizes it (PDF), it will open it

Put the download in a .ZIP file

--

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

To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
___________________________________________


| I want to set up a link that, rather than fire up a page, instantly opens
| "save target as" so that folk have to download the page to their machine.
| Some of my users want this rather than PDF files. Any ideas?
|
|
 
C

crawler

out of curiosity - do you get a prompt for a password (which if you cancel)
produces the file anyway (in word)
 
F

FUD_wad

crawler said:
out of curiosity - do you get a prompt for a password (which if you cancel)
produces the file anyway (in word)

Anybody that does not have the proper service pack in Office will get that.
 
J

Jack Brewster

crawler said:
URL http://www.wyatt-family.com/dance2004/registration.htm

links for word and rtf file should go straight to "save as"

As you probably gather, many of the clients may not be so computer saavy

You should tell us how you did it, though. :)

Jon Spivey has provided code that will force a download from ASP. You can
see an example and get the code here:
http://www.roksteady.net/code/download.asp

I thought at one point it said that it only worked with IE clients, but I
can't find that warning on the page anymore. Jon, am I making that bit up?!
 

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