I will be creating a website that basically hosts/organizes various microsoft type files such as docx, xlsx, etc. I am only familiar with apache and php based web servers but my work is more familiar with IIS. So after digging around I started to realize maybe that is a good thing because IIS should have the .net framework support on the backend for a way to edit or open these document types. So I have been digging around and typically what I have found is people trying to embed word processors and things of that nature in their site. Well what I want to do is allow users to open these documents in their actual microsoft word, excel, etc programs but let them save them back to the web server. Is something like this even possible with IIS and .net framework? If so, could you point me in the right direction of how I could achieve this?

Having not been familiar with C# is it possible to do this on an APACHE server with php rather than c#?

  • Local editors can only edit loal files, as you would expect (unless they provide native remote capabilities,like FTP). You'll need to download the file first, edit in Word, and upload it again. Not the job of a webserver certainly, either IIS or Apache or anything else. You may try to look for an Office plugin that support this foryour site tech.
    – Alejandro
    Oct 5 '20 at 16:25
  • If WebDAV was enabled on the IIS server and Stores the files. Then if website points to the files stored there for all links then would this accomplish this? Oct 5 '20 at 23:59
  • If you expose the files on WebDAV and use Windows Explorer to map it as a drive, then no program would ever notice the difference, and even Office programs would simply read/write to it. Yes, it could work, sounds like a good approach to me.
    – Alejandro
    Oct 6 '20 at 12:02
  • This server is only accessible from inside network/vpn but I did not think I needed to map the drive for users accessing the site. Is this a requirement to make site links on website load in office by default? I had read of using this for links ms-word:ofe|u| and it forces program to open in word, etc but it just requires a WebDav and some other settings to be enabled. Guess I’ll give this a try and fingers crossed WebDav stays supported my Microsoft! Oct 7 '20 at 1:22
  • WebDAV lacks supports in almost every program out there, but Windows Explorer has rudimentary support for it, though drive letter mapping. When you map a WebDAV to a drive, programs simply access it as if it was local, unaware of the real nature of the data storage, Windows Explorer does the download/upload in backgroud. But given that t he server is in the LAN, why not simply use normal file shares that Windows natively support? I don't think you need anything else over them given that fact.
    – Alejandro
    Oct 7 '20 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.