Click to See Complete Forum and Search --> : How to Integrate IE "Save Target As" option


sirapu
May 8th, 2002, 06:04 PM
Hi Guys,

I wanted to integrate IE menu option "Save Target As" in my application when I click a link associated with a physical file.

Why do I want to integrate:

I have an application which display the metadata results on browser. The metadata link is associated with the physical file. When the user clicks on the metadata, it automatically launches the physical file in the same window if there is a plug-in associated to the file type other wise it prompts user a dialog with save or open options, but not both. We found out that, in IE ˇ°Save Target Asˇ± option does both, letting user to save the document in desired location and launches it from there. How to implement this option in place of default click option

Any help in this regard would be greatly appreciated.

Thanks! in advance for your time and effort.

Chandra

websmith99
September 27th, 2002, 05:21 PM
The same question was posted by "jward" titled "Browser file save".

Here is the answer I gave:


Basically, you have to set the Content-disposition in the HTTP
header. You would do this server-side using (depending on
your architecture) ASP or JSP for example.

Here is a very good article on this:
http://support.microsoft.com/defaul...;EN-US;Q260519&

:cool: