15 Apr
2002
15 Apr
'02
1:33 p.m.
It's not a Windows problem ... it's an IE issue. And as fare as I know M$ is not willing to change this behaviour :-( Phil Harris wrote:
That makes no difference as far as I can see, as soon as Windows sees the .doc extensions it will fire up Word to receive the file.
Windows sets more store in the file extension than the mime type.
Robert Rottermann wrote:
When I have a file object that contains a word doc "viewing" it fires up word and displays the document. What I really want is that the save file dialog is presented. So how can
I
suppress the default behavior?
You can set the content-type of the RESPONSE to application/octet-stream. Example:
<dtml-call
"REQUEST['RESPONSE'].setHeader('content-type','application/octet-stream')">