Slashdot Mirror


Accessing WebDAV Folders on Linux?

Saqib Ali asks: "I was wondering if any Slashdot readers are accessing WebDAV folders on their Linux box. I heavily use DAV folders to store files and documents. On a Windows machine, I can easily access them using WebFolder or native DAV support in MS Office Suite. But when I switch to my Linux box, I have a hard time accessing the files on the DAV folders. I haven't seen any application on Linux that support DAV natively. OpenOffice/StartOffice don't support DAV either. I know there is nautilus which uses gnome-vfs to access files on DAV, but that doesn't help if the apps don't support DAV themselves. Are there Linux app that support DAV natively? How about integerating gnome-vfs into OpenOffice? Any ideas?" For those who just want access to the files, and don't mind the extra steps, you can use utilities like Cadaver but probably, what many of you might be looking for is a simple file system driver. What are you usin to access your DAV resources?

7 of 26 comments (clear)

  1. Because no one knows what you're talking about by ObviousGuy · · Score: 3, Informative

    What is WebDAV?

    Briefly: WebDAV stands for "Web-based Distributed Authoring and Versioning". It is a set of extensions to the HTTP protocol which allows users to collaboratively edit and manage files on remote web servers.

    --
    I have been pwned because my /. password was too easy to guess.
    1. Re:Because no one knows what you're talking about by Matts · · Score: 3, Informative

      Also note that the V is "silent" - there is no versioning in WebDAV (there's a separate Delta-V spec, but it's not finished yet).

      --

      Matt. Want XML + Apache + Stylesheets? Get AxKit.
    2. Re:Because no one knows what you're talking about by Anonymous Coward · · Score: 1, Informative

      Not true! The DeltaV specification, "Versioning Extensions to WebDAV" was published as RFC 3253 (Standards Track), in March, 2002.

      This specification provides versioning, configuration management, workspaces, and logical change tracking capabilities.

      First out the door with an implementation is the Subversion project, which is developing an Open Source replacement for CVS.

      While we're at it, two other WebDAV specifications nearing completion are:
      WebDAV Access Control Protocol
      DAV Searching and Locating Protocol

  2. Uhm by Phexro · · Score: 3, Informative

    Disclaimer: I don't currently, nor have I ever, used WebDAV before.

    Well, KDE 3 supports WebDAV. If you use Konqi to browse to your WebDAV folder, you can open the documents therein with any app - KDE copies it to a tempfile, then re-uploads it when the editor terminates. At least, that's how it works for the other protocols, e.g. FTP. KDE native programs upload the file on every save.

    There's a WebDAV mode for [X]Emacs, and Emacs/w3 supports WebDAV.

    Of course, if you go with DavFS, any Linux app can access WebDAV servers.

  3. DavFS by ntr0py · · Score: 2, Informative

    http://dav.sourceforge.net/

    Seems like they've got what you're looking for.

  4. davfs works well... by sshambar · · Score: 5, Informative

    I've been using DavFS for awhile now. It is a kernel modules which allows you to mount a dav location as a filesystem -- which pretty much allows any app to use the dav.

    It was easy enough to compile for my RH7.1 system, you just need the kernel headers installed, and you can build/install the module, and then use mount.davfs to mount a location just like a samba share. It supports user auth. and you can compile in ssl support (a must in my book :)

    My only issue is that you need to choose your mount point carefully, as an 'ls' even on the directory containing the mount point can take a second or two to complete (since the fs needs to perform a propget on the server); so I suggest placing your mount point in a subdirectory that you will only access when you're doing dav work... (ie not in your home directory). Other than that, it's great. I love it especially because it very tolerant of the server restarting/going offline, since it's just http gets and doesn't have any "state" like nfs.

    I've also mounting the drives on XP and OSX, which makes sharing documents (even securely to my office box over ssl) very cool. And setting up a dav share is just like setting up any other web location in apache (I use the mod_dav that ships with RH7.2 for my server...)

    In short, very cool stuff.

    1. Re:davfs works well... by Anonymous Coward · · Score: 1, Informative

      NFS doesn't keep state information on the server and thus isn't affected by server restarts either.