Skip to content

kDrive

Capability Support
rclone support tier Tier 2: Stable
Checksums XXH3
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

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.

kDrive allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not.

kDrive supports the XXH3 checksum hash, so you can use the --checksum flag. XXH3 is only available for files uploaded as a single chunk: files uploaded in chunks (by rclone when larger than --kdrive-chunk-size, or by the kDrive apps which chunk files at their own sizes) have a “nested” hash which can’t be compared with a plain XXH3, and rclone reports no hash for those files.

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

Character Value Replacement
LeftSpace 0x20 ␠
RightSpace 0x20 ␠

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

When rclone overwrites an existing file, kDrive keeps the replaced content as a new version of the file. Old versions count against the drive quota, so repeatedly overwriting large files grows the storage usage. Manage old versions from the kDrive web app.

kDrive can’t upload files of unknown size, so rclone rcat and streaming uploads are not supported.

Deleted files will be moved to the trash. Your subscription level will determine how long items stay in the trash. rclone cleanup can be used to empty the trash.

You can set the root_folder_id for rclone. This is the directory (identified by its numeric Folder ID) that rclone considers to be the root of your kDrive drive.

Normally you will leave this blank and rclone will use your private directory. You can also use one of the convenience shortcuts:

  • private: your user private directory (default)
  • common: the kDrive common directory, shared among users

Or the numeric Folder ID of any directory in your drive. The root of the drive only contains the Private and Common documents folders, so a numeric ID is needed to use any other directory as root. In order to find the Folder ID, list the parent directory of the folder you wish rclone to use with rclone lsf; the first column of the output is the folder ID:

Example:

$ rclone lsf --dirs-only -Fip --csv remote:Documents
456,Sub folder/
789,Photos/

So if the folder you want rclone to use is “Photos/”, then use the returned id from rclone lsf command (ex. 789) as the root_folder_id variable value in the config file.

The wizard asks for these when you add the drive.

OAuth Client Id.

Leave blank normally.

Type: string

ID of the kDrive to use.

When showing a folder on kdrive, you can find the drive_id here: https://ksuite.infomaniak.com/{account_id}/kdrive/app/drive/{drive_id}/files/…

Type: string

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

OAuth Access Token as a JSON blob.

Type: string

Auth server URL.

Leave blank to use the provider defaults.

Type: string

Token server url.

Leave blank to use the provider defaults.

Type: string

The encoding for the backend.

See the encoding section in the overview for more info.

Type: Encoding · Default: Slash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot

The folder to use as root.

You may use either one of the convenience shortcuts [private or common] or an explicit folder ID.

  • private: your user private directory
  • common: the kDrive common directory, shared among users

Type: string

Files above this size are uploaded in chunks of this size.

The kDrive API accepts chunks between 1 MB and 1 GB, up to 10,000 chunks per file and a total file size of 1 TiB. The chunk size is raised automatically for very large files to stay within the 10,000 chunks limit.

Type: SizeSuffix · Default: 20Mi

Concurrency for chunked uploads.

Type: int · Default: 4

The API endpoint to use.

Leave blank normally. There is no reason to change the endpoint except for internal use or beta-testing.

Type: string

Description of the remote.

Type: string