Skip to content

dosya.dev

Capability Support
rclone support tier Tier 1: Core
Checksums SHA-256
Modification times Kept, to 1 s
Case-insensitive names No
Duplicate names allowed No
Server-side copy Yes
Server-side move and rename Yes
Folder move and rename Yes, in one step
Free space reporting Yes
Empty folders Yes
Change notifications No
Uploads of unknown size No
Public links Yes

dosya.dev is a cloud file storage, sharing, and synchronization platform with workspace-based multi-tenancy, file versioning, and team collaboration features.

In CloudMount you add this drive from the Add drive screen, and the wizard asks for the options listed under Options. The notes below come from rclone’s setup guide.

  1. Log in to dosya.dev
  2. Go to Profile > API keys
  3. Create a new API key
  4. Copy the key (starts with dos_)

A key can be restricted to a single workspace when you create it, which is the simplest thing to do for rclone: workspace_id can then be left out of the config entirely.

Leave workspace_id blank and rclone asks which workspaces the key can reach. A key restricted to one workspace, and an account that has only one, both resolve without any configuration. If the key can reach several, rclone refuses and lists their IDs so you can set the one you want:

this API key can reach 2 workspaces, so workspace_id must be set to one of:
ws_AAAAAAAA (Work)
ws_BBBBBBBB (Personal)

To access several workspaces at once, create a separate remote for each:

Terminal window
rclone config create work dosya api_key=dos_XXX workspace_id=ws_WORK
rclone config create personal dosya api_key=dos_XXX workspace_id=ws_PERSONAL

Then use them independently:

Terminal window
rclone ls work:
rclone copy work:docs/ personal:backup/

dosya.dev supports modification times with a resolution of 1 second. The modification time is sent with the upload, so a copied or synced file keeps its original timestamp. Modification times cannot be changed after upload without re-uploading the file.

dosya.dev supports SHA-256 checksums. The server computes the hash of a single-shot (small file) upload from the bytes it receives, so rclone check and hash-based sync work without downloading. Large files uploaded in multiple parts have no server-side hash (the parts are never re-read to hash the whole object), the same limitation the S3 backend has for multipart objects; those objects report an empty hash.

In addition to the default restricted characters set the following characters are also replaced:

Character Value Replacement
“ 0x22 "
’ 0x27 '
< 0x3C <
> 0x3E >
\ 0x5C \

Invalid UTF-8 bytes will also be replaced, as they can’t be used in JSON strings.

dosya.dev supports rclone link to create public share links to files. You can use the --expire flag to specify how long the link should be valid.

Terminal window
rclone link remote:path/to/file.txt
rclone link --expire 7d remote:path/to/file.txt

The wizard asks for these when you add the drive.

Your API Key, get it from https://dosya.dev/profile under “API keys”.

Type: string · Required

Your workspace ID.

Leave this blank to use the one workspace the API key can reach, which is what a key restricted to a single workspace does. If the key can reach several, rclone will refuse and list their IDs for you to choose from.

Type: string

The wizard shows these under Advanced options. Most drives work without changing any of them.

API base URL.

Type: string · Default: https://api.dosya.dev

Concurrency for multipart uploads.

This is the number of parts of the same file that are uploaded concurrently. The first part is always uploaded on its own, because the server creates the upload when it receives it.

Each part in flight is held in memory, so memory use grows with this value times the part size the server chooses.

If you are uploading large files over high-speed links and these uploads do not fully utilize your bandwidth, then increasing this may help to speed up the transfers.

Type: int · Default: 4

The encoding for the backend.

See the encoding section in the overview for more info.

Type: Encoding · Default: Slash,LtGt,DoubleQuote,SingleQuote,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot

Description of the remote.

Type: string

dosya.dev only supports filenames up to 255 characters in length.

Empty files (0 bytes) cannot be uploaded to dosya.dev.

Upload requires knowing the file size in advance, so streaming uploads of unknown-size files are not supported.

Each workspace limits the number of uploads a user can have in flight at once (5 by default, configurable in the workspace settings). When --transfers is set higher than that limit, rclone waits for a free upload slot rather than failing the transfer, retrying every 5 seconds for up to 10 minutes.

rclone deletes files and directories permanently, in a single request (DELETE ?permanent=1), bypassing the workspace trash. Removing a directory also asks the server whether it is empty (?if_empty=1) rather than listing it first.