/oss · 3 merged

emersion/go-webdav

A Go library for WebDAV, CalDAV and CardDAV file and calendar servers.

the project on GitHub (opens in a new tab)
  1. 25 Nov 2026

    A move of a missing file no longer deletes the target

    What was broken
    A move whose source file was missing deleted the destination file before failing. Retrying a move that had already worked lost the file.
    What I changed
    The server now checks that the source exists before it touches the destination, as copy already did.
    Why it matters
    A retried move from a sync tool can no longer wipe out a file.

    see the code, #228 (opens in a new tab)

  2. 21 Nov 2026

    Copying or moving a file onto itself no longer deletes it

    What was broken
    Copying or moving a file or folder to its own path deleted it. The server removed the destination first, which was the source, and then failed.
    What I changed
    I made the server refuse a copy or move onto the same path, as the WebDAV standard says.
    Why it matters
    A slip in a file manager or sync tool can no longer wipe out data.

    see the code, #225 (opens in a new tab)

  3. 18 Nov 2026

    Copying a folder on the WebDAV server works

    What was broken
    Copying a folder with files in it failed with a server error. When copying over an existing folder, that folder's files were already deleted by the time it failed.
    What I changed
    Each file and subfolder is now copied to its own place under the new folder, keeping its permissions.
    Why it matters
    Folder copies work, and a failed copy no longer wipes out a backup folder.

    see the code, #224 (opens in a new tab)

← every project