I have an app which successfully returns Word, Excel, and PDF docs to IE and Firefox. The app displays a list of file names next to buttons. The user clicks a button and on the server I return a stream through the Response object with the file requested.
The headers are tweaked depending on the file type and browser. Over the years we've seen many people asking questions about how to get the Content-Disposition right, which ContentType to use, etc. After a lot of research I found usable answers.
But now we have Android tablets in the field, with
Polaris Office for Android Phone, and documents retrieved by a Chrome browser. No matter what I load into the Response object, Android/Chrome always downloads an HTML file called downloadfile.htm or downloadfile-n.htm for each additional call.
There are a number of new variables here. It's taking a long time to guess at Response property values that might work w ...
Go to the complete details ...