Ok, I am looking for way to have a user download a file, and have it open the apprpreate client side application.
For instance lets say a user is downloading an MS Word file. I want the user to get the dia log box asking them if they want to open, or save the file. If they click open I want the file to open in MS Word, but outside of the browser instead of inside the current frame.
I am aware of the options for playing with the MIME types and or setting the content-disposition","attachment; filename=file" header values. These do bring up the dialog box, but when a user in IE clicks open MS Word opens inside of IE.
I was assuming there was no way to do this but I noticed that Google Docs is some how able to enforce this. I checked in a header viewer and changed my applicaiton to set the same values but, still no luck. Any one know how Google pulls this off?
Header returned when downloading MS Office files from Google Docs.
HTTP/1.x 200 OK
Content-Type: application/msword; charset=UTF-8
content-disposition: attachment; filename="chap8.doc"
Content-Length: 71680
Cache-Control: private
Date: Fri, 30 Nov 2007 18:39:16 GMT
Server: GFE/1.3