How to open files in browser without download






















Internet Explorer. Still Have Questions? All rights reserved. Skip to Main Content. Log in Account Management. Search Search. Administrator Support. Information Article Body. In order to do so, follow these steps: Open up Chrome.

There are certain types of files that Google Chrome prevents from opening automatically as it considers them to be potentially dangerous. That said, the only way to open this file would be to click on the download or locate it on your computer and open it manually.

On top of that, regular file types such as. In case you want to open your downloaded files manually, you need to know where Google Chrome is storing them. However, this might not be the case for you. In order to do that simply go to the Edge Browser Settings and then click on Downloads.

Enable the toggle so that you get to view Office files without having to download them. Simple as that. After the toggle has been enabled you can view the Office files without downloading them.

When you will click on the file from the web it will open the office file in a new tab where you can view it. The new tab will view the file and will also give you an option to download the file in case you want to save it in your local storage or your One Drive if it is very important.

It looks like someone else asked a similar question a while ago: how to force pdf files to open in a browser With an answer saying that you should use the header: Content-Disposition: inline; filename.

Ok, so unfortunately I tried this, and had to follow the steps in the linked post, but it still does not work. I tried changing the return type to FileContentResult and that also did not help.

This was definitely part of the solution, thank you! Browsers should decide on downloading or displaying based on mime-type. Divya Divya 4 4 silver badges 2 2 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast An oral history of Stack Overflow — told by its founding team. Millinery on the Stack: Join us for Winter Summer? Bash, ! Featured on Meta.



0コメント

  • 1000 / 1000