in reply to Re: Forcing a Word Document to Download
in thread Forcing a Word Document to Download

I don't have a Windows box handy to test with, but I'm fairly certain this won't work. When Windows/IE sees that it's got a generic octet stream to work with (and sometimes even when it doesn't), it will use the filename extensions to determine the document type.

For this to work, then, you would have to also change the filename to something other than .doc, package it into a ZIP file and have the user unzip it, or convince your users to use a browser other than Internet Explorer.

  • Comment on Re: Re: Forcing a Word Document to Download

Replies are listed 'Best First'.
Re: Re: Re: Forcing a Word Document to Download
by sauoq (Abbot) on Jul 11, 2003 at 02:05 UTC

    I don't doubt for a second that you are right. That's why I included the caveat:

    "Of course, what's actually done with the data is up to the browser anyway."

    -sauoq
    "My two cents aren't worth a dime.";