Skip to content
Storage Providers

WebDAV & NAS

Vendor-aware WebDAV driver for Nextcloud, OwnCloud, Alist, Synology NAS, and InfiniCloud with Chunked Upload v2 and COPY.

The webdav backend (backend-webdav) adapts HTTP/WebDAV semantics automatically to six vendor profiles, unlocking Nextcloud and OwnCloud Chunked Upload v2 resumable pipelines while keeping Synology NAS, Alist/OpenList, InfiniCloud, and generic DAV servers fast and reliable.

Setup Recipes#

# Auto-derives /remote.php/dav/uploads/<user> for Chunked Upload v2
rship auth webdav nc \
  --vendor nextcloud \
  --url https://cloud.example.com/remote.php/dav/files/alice \
  --username alice \
  --password "<APP_PASSWORD>"

rship about nc:

Supported Vendor Profiles (--vendor)#

VendorChunked Upload v2Server-Side COPYPROPFIND QuotaNotes
nextcloudYes (10–100 MiB parts)YesYesRecommended: use Nextcloud App Passwords
owncloudYes (10–100 MiB parts)YesYesOverride endpoint via --chunked-upload-root if customized
alistStreaming PUTYesPartialAlso accepts alias openlist
synologyStreaming PUTYesYesWorks over Synology HTTPS port :5006
infinicloudStreaming PUTYesYesCompatible with TeraCLOUD / InfiniCloud WebDAV
genericStreaming PUTYesYesDefault fallback for Nginx/Caddy/Apache DAV

Flags Reference (rship auth webdav)#

FlagDefaultDescription
<REMOTE>—Logical remote name (e.g. nc, nas)
--urlRequiredBase WebDAV URL
--vendorgenericOne of nextcloud, owncloud, alist, synology, infinicloud, generic
--usernameNoneBasic auth username
--passwordNoneBasic auth password
--bearer-tokenNoneHTTP Bearer auth token (alternative to username/password)
--chunked-upload-rootAuto-derivedExplicit Nextcloud/OwnCloud /remote.php/dav/uploads/<user> URL

Protocol Internals#

  • Nextcloud / OwnCloud Chunked Upload v2: Files above 10 MiB upload to /remote.php/dav/uploads/<user>/<op_id> in 10 MiB default parts (up to 100 MiB cap) and atomically MOVE to the destination path — preventing partial corrupt files on interrupted transfers.
  • Auto URL resolution: Providing https://host/remote.php/dav/files/alice[/subpath] automatically resolves the matching /remote.php/dav/uploads/alice chunked upload root unless --chunked-upload-root is set.
  • Corporate proxies & self-signed NAS certs: Combine with global --ca-cert ./nas-ca.pem and --proxy flags cleanly.