Opening a networked file from a web page

Associate
Joined
13 May 2010
Posts
1,615
I eventually got my CSS page working that i posted about an eternity ago, thanks to all that contributed to helping me reach a solution with that.

I've now hit another issue. If i try to open a file (From a networked drive) via a link in the HTML , I can only seem to download a copy , I want it just to open it so it can be updated and then saved.

Currently have it on my desktop (In the form of a shortcut) and can open it, update it, and save it again (Excel Doc) , I've tried a few different ways but they all result in the file downloading.

Anyone got a suggestion or is this just not possible?
 
the web server tells the browser the content type via the mime type http header.
web servers are configured with a list of mime types and file extensions, you can amend this configuration as needed.
you can also specify the header programatically in your chosen back-end language.
the browser determines what to do with the content type, it will default to downloading.
further reading: https://stackoverflow.com/questions...eet-to-open-excel-instead-of-a-browser-window
 
Back
Top Bottom