Rename and move files over WebDAV
Rename or move a Dosya file over WebDAV with a full-access key, confirm the required role permissions, and prevent accidental destination overwrites.
Last reviewed
WebDAV uses one MOVE request for a rename, a folder change, or both. Dosya requires a Full access API key. The workspace role must allow rename when the name changes, upload when the parent changes, and delete when an existing destination will be overwritten.

Perform the operation in All or an anchored mount’s real tree. The unanchored Documents, Videos, Images, Shared, and Deleted views are read-only projections and cannot be MOVE sources or destinations.
Steps
- Confirm the key has Full access, includes WebDAV, and reaches the current workspace. Verify the role’s rename permission for a name change and upload permission for a move to another folder.
- Inspect the source in Dosya Files and choose a destination whose final name is unused. Record the source folder, destination folder, name, size, and current version before the operation.
- Check the target and both folder trees for file, ancestor, Vault, or WordPress-backup locks. A protected source or sealed destination returns 423 and must be unlocked through Dosya.
- Rename or drag the item once in the WebDAV client, then wait for its MOVE result. The destination must remain on the same Dosya WebDAV origin and inside the mounted workspace/anchor.
- Refresh the old and new folders. Confirm the source path no longer resolves and exactly one item with the intended name and size appears at the destination.
- Open Dosya Files at the destination and verify the item. If the client reports 409 or 412, refresh and reconcile concurrent state before attempting another move.

MOVE treats overwrite as allowed unless the client sends Overwrite: F. If a file already exists and overwrite proceeds, Dosya soft-deletes that destination, revokes its share links, and returns 204 after replacement; the role needs delete-own or delete-any permission according to the destination owner. A new destination returns 201. The displaced file remains recoverable from Trash until permanent purge, subject to normal restore permissions; first resolve any live-name conflict at its original location. Restoring that file does not recreate its revoked share links. Choose an unused name to avoid displacing another file and revoking its shares.
Different resource types cannot overwrite each other. Invalid or missing destinations return 400/409, a hidden source appears as 404, and a concurrent collision returns Conflict: resource was modified concurrently, retry the move.
Expected result
One MOVE places the file at the intended name and folder, the old path disappears, and both WebDAV and Dosya Files agree. No pre-existing destination was overwritten unless that action and its Trash/share-link effects were explicitly intended.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.