SearchSearch   

File hyperlink - how to force "file save as" in browser?

 
   Webmaster Forums (Home) -> Microsoft Frontpage RSS
Next:  Floating went awry ... where did I?  
Author Message
Motoman

External


Since: Aug 11, 2007
Posts: 2



(Msg. 1) Posted: Sat Aug 11, 2007 5:10 pm
Post subject: File hyperlink - how to force "file save as" in browser?
Archived from groups: microsoft>public>frontpage>client (more info?)

Using FrontPage 2003, I'd like to have a hyperlink that attaches to a file
(in this specific case, a .mpg - but whatever) NOT automatically open the
file, but rather spawn the browser's "file save or open" dialog, so that the
user can choose whether they want to just download the file, or open it.

How can I do this?
Back to top
Murray

External


Since: May 29, 2007
Posts: 76



(Msg. 2) Posted: Sat Aug 11, 2007 8:14 pm
Post subject: Re: File hyperlink - how to force "file save as" in browser?
Archived from groups: per prev. post (more info?)

Zip the file first. Then link to the zipped file. Other methods will be
much more complex than this simple one.

--
Murray
--------------
MVP FrontPage


"Motoman" <Motoman.TakeThisOut@discussions.microsoft.com> wrote in message
news:50855A3F-D4CF-46EB-8FD1-A5797A66190B@microsoft.com...
> Using FrontPage 2003, I'd like to have a hyperlink that attaches to a file
> (in this specific case, a .mpg - but whatever) NOT automatically open the
> file, but rather spawn the browser's "file save or open" dialog, so that
> the
> user can choose whether they want to just download the file, or open it.
>
> How can I do this?
Back to top
Motoman

External


Since: Aug 11, 2007
Posts: 2



(Msg. 3) Posted: Sat Aug 11, 2007 8:14 pm
Post subject: Re: File hyperlink - how to force "file save as" in browser?
Archived from groups: per prev. post (more info?)

Thanks...but I don't have any expectation that the average joe one the
interweb is going to have the slightest clue what to do with a zip
file...most non-IT people I know are still baffled by "double-click."
Back to top
Mark Fitzpatrick

External


Since: May 20, 2007
Posts: 73



(Msg. 4) Posted: Sat Aug 11, 2007 8:14 pm
Post subject: Re: File hyperlink - how to force "file save as" in browser?
Archived from groups: per prev. post (more info?)

Still, that's the only way to do it since a zip file is not associated with
any sort of viewer that the browser knows what to do with. WindowsXP does at
least have the ability to view and open zip files so that makes it much
easier than before. But, most users at this point are pretty familiar with
this method since this is one of the main ways that people offer files for
download or viewing.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Motoman" <Motoman.RemoveThis@discussions.microsoft.com> wrote in message
news:4B9BD079-4E3F-4371-B4A0-A027B6A54227@microsoft.com...
> Thanks...but I don't have any expectation that the average joe one the
> interweb is going to have the slightest clue what to do with a zip
> file...most non-IT people I know are still baffled by "double-click."
Back to top
Murray

External


Since: May 29, 2007
Posts: 76



(Msg. 5) Posted: Sat Aug 11, 2007 9:46 pm
Post subject: Re: File hyperlink - how to force "file save as" in browser?
Archived from groups: per prev. post (more info?)

OK - then your alternative is to use server-side scripting to change the
headers for the file so that its mime type specifies that it be downloaded.

Take your pick....

--
Murray
--------------
MVP FrontPage


"Motoman" <Motoman.TakeThisOut@discussions.microsoft.com> wrote in message
news:4B9BD079-4E3F-4371-B4A0-A027B6A54227@microsoft.com...
> Thanks...but I don't have any expectation that the average joe one the
> interweb is going to have the slightest clue what to do with a zip
> file...most non-IT people I know are still baffled by "double-click."
Back to top
Display posts from previous:   
       Webmaster Forums (Home) -> Microsoft Frontpage
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum