Building a WebDAV Server on Ubuntu 15.04



  • There is a reason that even with Sharepoint, you get both the WebDAV component for drive mapping and traditional storage and the OneDrive component for "sync" storage. The two do not cover the same ground.



  • @scottalanmiller said:

    @dafyre said:

    Why not use something like OwnCloud? It is easier to set up, and works across pretty much any device these days...

    Very different thing. ownCloud is "sync" storage, what people refer to as cloud storage (which makes zero sense in any context.) ownCloud requires a client and requires syncing for things to work.

    WebDAV is a direct competitor with SMB and NFS. This mounts as a traditional drive, mapped drive, and allows traditional "real time" file access.

    ownCloud has webdav at its core though. You can mount a webdav share from owncloud (or navigate to it) on everything but Windows at this point. There is some funky things with Windows that doesn't allow it.

    I use this functionality on my Linux boxes instead of installing the sync client. I actually think it works better when interacting this way then when using the client.



  • @coliver said:

    ownCloud has webdav at its core though. You can mount a webdav share from owncloud (or navigate to it) on everything but Windows at this point. There is some funky things with Windows that doesn't allow it.

    That's really weird as Windows is the primary user of WebDAV.



  • @scottalanmiller said:

    @coliver said:

    ownCloud has webdav at its core though. You can mount a webdav share from owncloud (or navigate to it) on everything but Windows at this point. There is some funky things with Windows that doesn't allow it.

    That's really weird as Windows is the primary user of WebDAV.

    I think I started a thread on this a long time ago. There is something different with Window's WebDAV implementation that doesn't work correctly with the saber webdav server that Owncloud uses. If I remember correctly it has to do with how authentication is being handled.



  • The WebDav server behind ownCloud is called sabre/dav (sabre.io). You can navigate to it by going to:

    https://owncloud.url/owncloud/remote.php/webdav
    

    I use it for browsers that don't have the power to run the full web client and to connect directly with Linux boxes.



  • If they could get Windows compatibility, that would be huge.



  • @scottalanmiller said:

    If they could get Windows compatibility, that would be huge.

    Agreed.



  • Okay... wow... I just tested from my Server 2012 R2 box to my ownCloud instance (still hosted at C@C) and it works... I'm shocked! (Yes, shocked that the VM is actually working, but I haven't had any issues recently)... But I'm also shocked that on my Server 2012 box that WebDav appears to be working!

    I didn't realize that ownCloud even had a WebDav setup.

    upload-913ab29a-267b-4bd8-a6ed-95d7f7f58ed0



  • Awesome!



  • @dafyre said:

    Okay... wow... I just tested from my Server 2012 R2 box to my ownCloud instance (still hosted at C@C) and it works... I'm shocked! (Yes, shocked that the VM is actually working, but I haven't had any issues recently)... But I'm also shocked that on my Server 2012 box that WebDav appears to be working!

    I didn't realize that ownCloud even had a WebDav setup.

    upload-913ab29a-267b-4bd8-a6ed-95d7f7f58ed0

    Oh it works on 2012? I will have to check and see if it works on Windows 10 when I get home.



  • @coliver said:

    @dafyre said:

    Okay... wow... I just tested from my Server 2012 R2 box to my ownCloud instance (still hosted at C@C) and it works... I'm shocked! (Yes, shocked that the VM is actually working, but I haven't had any issues recently)... But I'm also shocked that on my Server 2012 box that WebDav appears to be working!

    I didn't realize that ownCloud even had a WebDav setup.

    upload-913ab29a-267b-4bd8-a6ed-95d7f7f58ed0

    Oh it works on 2012? I will have to check and see if it works on Windows 10 when I get home.

    2012 R2 is Windows 8.1. Maybe it works there too.



  • @scottalanmiller said:

    @coliver said:

    @dafyre said:

    Okay... wow... I just tested from my Server 2012 R2 box to my ownCloud instance (still hosted at C@C) and it works... I'm shocked! (Yes, shocked that the VM is actually working, but I haven't had any issues recently)... But I'm also shocked that on my Server 2012 box that WebDav appears to be working!

    I didn't realize that ownCloud even had a WebDav setup.

    upload-913ab29a-267b-4bd8-a6ed-95d7f7f58ed0

    Oh it works on 2012? I will have to check and see if it works on Windows 10 when I get home.

    2012 R2 is Windows 8.1. Maybe it works there too.

    I was just going to try it on this desktop to see.



  • Works on my 8.1 pro desktop at home... I'll try from my Home edition (laptop) tonight and see what it says.



  • As a side note, I just upgraded from ownCloud 8.02 to 8.04 and it still works.



  • It looks like it is trying to connect but it gives me two choices for a SSL cert when I do... then it give me an error. I will have to look into a bit more when I have time.