Connecting to Dosya with WebDAV

Set up Dosya WebDAV in Cyberduck with verified screens, an API key and workspace path; test bytes and resolve exact access, transfer and recovery limits.

Last reviewed

Open Integrations → WebDAV in the intended workspace and copy its address. Connect using WebDAV over HTTPS, your account email as the username and a full dos_… API key as the password. For a normal workspace connection, open All before uploading: the other collections at the connection root are read-only views.

Before you start

  • Sign in to Dosya and select the workspace you want to reach. Your workspace role must allow WebDAV and the file operations you intend to use.
  • Use a WebDAV client that supports HTTPS and username/password authentication. The walkthrough below uses Cyberduck on macOS; another client’s fields may have different names.
  • Decide whether the client only needs listing and downloading, or also uploads and file management. Keep a separate key for this client so you can replace or revoke it independently.
  • Prepare a harmless, uniquely named sample file for your first transfer. Keep your original local copy while checking the destination.
  • This connection is for ordinary workspace files. Vault uses its own workflow and is not exposed through WebDAV.

Steps: create the client’s key

  1. Open Profile → API keys. Select New API key. Enter a recognizable label in What is it for?, such as the client and computer name.
  2. Choose What can it do? Select Read only for listing and downloading. The upload walkthrough needs Full access, which also permits moving and deleting within your account’s allowed reach. Upload only cannot list folders, so it is unsuitable for this browsing workflow.
The New API key form with a sample WebDAV client label and the Read only, Upload only and Full access permission choices.
Choose the permission for the task. This sample uses Full access for an upload check; Read only is sufficient for listing and downloading. Open full-size screenshot.
  1. Limit its protocols and workspace. Open Restrictions and expiry. Under Where can it reach? → Protocols, select Only the ones I pick and check WebDAV. Choose the intended Workspace. Review any expiry, address, schedule or usage limits you set; those restrictions continue to apply in the client.
API-key restrictions with Only the ones I pick selected, WebDAV checked and the sample workspace selected.
This sample key allows WebDAV in one workspace. A protocol restriction and a workspace restriction are separate choices. Open full-size screenshot.
  1. Generate and save it privately. Check the form’s summary, then select Generate key. Copy the full key from the result dialog before selecting Done; it is shown only once. The label and prefix in the saved list cannot authenticate a client. See API key management for the complete key workflow.

Steps: connect to the workspace

  1. Copy the workspace address. Return to Integrations → WebDAV and copy the URL under Endpoint & credentials. Copy the complete address, including its path and trailing slash. The workspace ID selects the workspace; the name segment supplies the connection’s label. Keep encoded spaces such as %20 when copying a URL.
Dosya's WebDAV integration page showing the sample workspace endpoint and the account email plus API-key authentication instructions.
Copy the address for the currently selected workspace. Your account email is the username; your API key is the password. Open full-size screenshot.
  1. Open the client’s connection dialog. In Cyberduck, select Open Connection and choose WebDAV (HTTPS). If your version calls it WebDAV (HTTP/SSL), that is its secure WebDAV option. Cyberduck’s WebDAV documentation explains HTTPS authentication.
  2. Enter the address and credentials. If the client accepts a complete URL, paste the copied address. If it separates the settings, use the following fields. In Cyberduck, enter the path in Path; it is separate from Server.
FieldWhat to enter
ProtocolWebDAV over HTTPS
Serverapi.dosya.dev
Port443
PathEverything after the host in your copied URL, including /webdav/mount/…/
UsernameThe email of the account that owns the API key
PasswordThe full dos_… API key

Leave Anonymous Login off. Use your API key in the password field, rather than your account password or a share-link password. Save the credential in the client’s private credential storage only if that is appropriate for this computer.

Cyberduck's WebDAV HTTPS connection dialog with separate Server, Port, Username, masked Password and Path fields.
The native dialog separates Server from Path. This capture uses a local sample server; for your Dosya address use api.dosya.dev, port 443 and your copied path. Open full-size screenshot.
  1. Connect and inspect the result. Select Connect, and enter the same email and API key if a login dialog follows. For a normal workspace connection, the root lists All, Documents, Videos, Images, Shared and Deleted. Open All to browse the real folder tree and choose an upload destination.
The connected native Cyberduck client listing All, Deleted, Documents, Images, Shared and Videos at the sample workspace root.
The ordinary connection root lists six collections. Open All for the writable folder tree; the five other collections are read-only views. Open full-size screenshot.

Steps: verify a sample transfer

  1. Choose the destination in All. Use All itself for the ordinary workspace root, or open the intended folder beneath it. You can create a sample folder if your key and workspace role allow it. The connection root and the five smart views are not upload destinations.
  2. Upload the sample. In Cyberduck, use File → Upload… and select your uniquely named local sample. Wait for the transfer to finish. Avoid replacing an existing filename during this first check.
Cyberduck inside All with the uploaded webdav-upload-check.txt sample, its 58-byte size and a separate WebDAV checks folder.
The sample upload appears at the root of All as webdav-upload-check.txt, with its 58-byte size beside the filename. Open full-size screenshot.
  1. Verify it in Dosya. Open Files in the same workspace and folder, refresh the listing if needed, and confirm the sample’s filename and size. WebDAV’s All collection corresponds to the ordinary workspace folder tree; it is not an additional folder you need to find in the web app.
Dosya Files showing the same webdav-upload-check.txt sample uploaded through the native WebDAV client.
Check the same workspace and destination in Dosya's Files page. This sample was uploaded into the ordinary workspace root through WebDAV's All collection. Open full-size screenshot.
  1. Check a downloaded copy. Download the sample through the client into a separate local location and open your own copy. Confirm that it is the file you expected before relying on the connection for other work.

Expected result

The client displays the intended workspace folders. With the required permissions, the sample appears in both the client’s All tree and Dosya’s Files listing, and your downloaded copy matches your source.

Disconnecting the client ends that connection; it does not remove your cloud files or revoke the key. Reconnect using the saved address and credential when needed. A WebDAV connection by itself does not set up a desktop folder-sync pairing or guarantee offline copies. See Desktop folder sync if that is your intended workflow.

Folder-restricted keys and other limits

If you select Choose folder… when creating a workspace-pinned key, that folder becomes the connection root. Its children appear directly, so the normal All and smart-view collections are absent. Use the workspace’s copied mount address; do not append the anchor folder’s name as if it were above this new root. Folder-anchored keys work over WebDAV and the S3 gateway, and are refused over REST API and SFTP. Moving the anchor to Trash makes that connection unavailable until the folder is restored.

Key permissions do not grant additional workspace-role permissions. A successful login therefore does not guarantee permission to upload, create folders, move or delete. Key expiry, selected protocols, allowed addresses, active hours, usage limits and workspace storage limits also apply.

The walkthrough above is for Cyberduck. A Finder or Explorer mount uses different controls and client-specific behavior; use the existing WebDAV mounting tutorial and protocol reference for those alternatives.

Transfer behavior and recovery boundaries

A successful new WebDAV PUT returns 201; a same-path replacement returns 204 and creates a Dosya file version. Both carry an ETag. A filename collision is therefore not a harmless duplicate check: confirm the destination before approving a client’s overwrite prompt. History defaults to 10 versions unless workspace settings change the cap, and older free-owner versions undergo a seven-day retention sweep. A backup kept only in version history is not a permanent independent copy.

WebDAV uploads need Content-Length. Missing length produces 411 with Content-Length header is required; mismatched body length returns 400. The parent must exist, otherwise PUT reports 409 Parent folder does not exist. Workspace extension policy, maximum file size and storage quota are enforced alongside explicit key/role byte limits; a size refusal can be 413, and insufficient storage 507. Those numbers come from your current policy, not a universal WebDAV upload-size promise.

For downloads, GET supports one byte range with 206 and Content-Range; an invalid range produces 416. GET checks access/download permissions and locks before returning bytes. Each download stream can consume a transfer slot and daily egress allowance; HEAD or a 304 without a body is not a file download. If your client opens several parallel range streams for one file, reducing the number of simultaneous files alone may not reduce stream concurrency. Lower the client’s parallel transfers/range requests when an explicit limit refuses them.

Free and paid plans can use this protocol. Plan request-count and concurrency ceilings are not imposed at the WebDAV door, but explicit key/role limits still apply, and plan daily egress remains relevant. Independent request throttles are 600 requests/minute per user and 1,200 per IP. A 429 can include Retry-After; respect it before retrying rather than reconnecting rapidly. Successful authentication does not bypass an active-hour or address condition.

Deleting through a full-access client is a cloud action: eligible files and folder subtrees move to Trash and their share links are revoked. Your role may permit deleting only your own files; a mixed-ownership folder can be refused. Trashed bytes keep consuming storage until permanent purge. The owner’s effective plan sets automatic Trash retention at seven days on free or 30 on other plans, with cron processing after the retention cutoff. Permanent purge is irreversible, and restoring a file does not recreate a revoked share URL. WebDAV’s Deleted view is read-only; use Dosya’s Trash controls to restore or permanently remove items.

Exact connection refusals

Status and responseWhat to check
401 Unauthorized, with WWW-Authenticate: Basic realm="dosya.dev"Missing/malformed Basic auth, wrong key-owner email, invalid/expired/revoked key or a WordPress site key. Email matching ignores letter case; the full password must start with dos_.
500 Internal Server Error during authenticationA credential-store outage is distinct from a bad password; wait before replacing a valid key.
403 This API key is not permitted to use WebDAVThe selected protocol list excludes this door.
403 This API key is pinned to a different workspaceThe mount’s workspace does not match its key pin.
403 Not a member of this workspaceWorkspace membership is required in addition to possession of a key.
403 This API key is anchored outside your permitted folderThe key’s root and the member’s narrower confinement do not compose.
403 This API key’s anchor folder is no longer availableIts selected folder was removed or trashed; restore the permitted anchor or make a correctly scoped replacement.
403 This role is not permitted to use WebDAVRequest WebDAV access from the workspace owner/admin.
403 API key scope ‘read’ cannot upload filesKeep this key read-only or make a separate appropriately scoped upload client.
423 LockedThe file or its ancestor/destination is locked; resolve the lock in Dosya rather than retrying an overwrite.

The door checks path/configuration and IP throttling, then authentication, key protocol, key conditions/usage, user throttling, workspace/membership/anchor and role gates before method-specific file permissions. One corrected error may therefore uncover a separate valid restriction. Hidden resources and their descendants resolve as absent for a viewer who cannot see them; guessing a path cannot widen the mount.

Troubleshooting

The client repeatedly asks for a password or reports Unauthorized. Use the key owner’s account email and the full API key. Check whether the key expired or was revoked. A copied label or prefix is insufficient. Replace a lost key using Profile → API keys, update the client and revoke the old credential as appropriate.

The client reports Forbidden. Check the key’s Permission, Protocols and Reach, and confirm that your workspace role allows WebDAV. A workspace-pinned key cannot connect to a different workspace. Address and schedule restrictions can also refuse a valid credential. If a role needs changing, ask the workspace owner or administrator.

Listing works, but uploads fail. Use All or a folder beneath it for an ordinary connection. Documents, Videos, Images, Shared and Deleted are read-only views. Check whether the key is Read only, whether your role permits uploads, and whether the destination is locked or has reached a limit. A missing parent folder must be created first.

Only one folder’s children appear, without All. Check whether the key or your workspace membership is folder-restricted. The folder is the connection root; its absence from its own listing is expected.

The server or workspace cannot be found. Copy the current address from the intended workspace’s integration page. Keep the workspace ID and full path, rather than using a bare host or guessing a workspace name. If the service reports temporary maintenance or a rate limit, wait for the stated retry period.

The client shows a certificate warning. Stop and check that you used the copied HTTPS address and the intended host. Do not bypass an unexplained certificate warning to make a production connection succeed. Record the message for private support.

The client looks successful, but the destination is missing. Check the active workspace and folder in both interfaces, refresh the lists, and inspect the client’s transfer result. Confirm the actual destination and your downloaded copy instead of relying only on a connection or completion message.

For a persistent problem, contact private support with the client/version, selected protocol, operation and error message. Omit your full API key, password field, authorization headers and private filenames from shared screenshots.

Frequently asked questions

Do I use my Dosya account password?

No. Use your account email as the username and the full API key as the password. The key must allow WebDAV.

Can I upload into Documents or Images?

Those root collections are read-only views for an ordinary workspace connection. Upload into All or an intended folder beneath it.

Can I restrict this client to one folder?

Yes. Choose a workspace and folder when creating its key. That folder becomes the connection root; the workspace-wide collections are not shown.

Does this connect my Vault?

No. WebDAV exposes ordinary workspace files. Use Dosya’s Vault workflow for Vault content.

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.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.