What works today
Cotton exposes WebDAV v1 for standard clients and automation workflows. It is useful when you need protocol-level access instead of only the browser UI.
- Standard file clients can browse and upload content.
- Phone auto-sync and rclone-style workflows can use the compatibility path.
- WebDAV is supported as a real product surface, not a hidden experiment.
Storage pipeline integration
WebDAV PUT streams into Cotton's chunk storage path. That means uploaded files still become content-addressed, encrypted, previewable, shareable, restorable Cotton files.
Quota properties
PROPFIND responses include quota-used-bytes and, when a user has a quota, quota-available-bytes. Clients that understand those properties can report real logical quota instead of guessing from the backing disk.
When to use it
Use WebDAV for compatibility, automation, basic sync, and existing client workflows. Use the web UI for richer product flows such as previews, shares, profile security, sessions, notifications, and admin checks.
What it is not
WebDAV is not the long-term center of gravity for Cotton. It is a bridge for broad client compatibility while the product keeps its own chunk-first storage model underneath.
Compatibility proof
The important proof is that WebDAV writes do not bypass the product engine. They enter the same storage path as browser uploads, so compatibility clients still create Cotton-managed files with manifests, chunks, encryption, quota accounting, and metadata.
- PUT streams into the normal chunk storage path.
- PROPFIND exposes quota-used-bytes and quota-available-bytes when quota is configured.
- Protocol writes still land in database-backed metadata instead of a loose external folder tree.
Useful on day one
Cotton can be practical on day one because existing WebDAV clients already exist. That compatibility matters, but it stays subordinate to the product's native file cloud model.
Native UI is richer
WebDAV is a compatibility layer, not the richest Cotton experience. Use it for sync and automation; use the web UI for previews, sharing, account security, sessions, notifications, and admin checks.