Skip to content

Mail.ru Cloud

Capability Support
rclone support tier Tier 1: Core
Checksums Mail.ru hash
Modification times Kept, to 1 s
Case-insensitive names Yes
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

Mail.ru Cloud is a cloud storage provided by a Russian internet company Mail.Ru Group. The official desktop client is Disk-O:, available on Windows and Mac OS.

  • Files have a last modified time property, directories don’t
  • Deleted files are by default moved to the trash
  • Files and directories can be shared via public links
  • Partial uploads or streaming are not supported, file size must be known before upload
  • Maximum file size is limited to 2G for a free account, unlimited for paid accounts
  • Storage keeps hash for all files and performs transparent deduplication, the hash algorithm is a modified SHA1
  • If a particular file is already present in storage, one can quickly submit file hash instead of long file upload (this optimization is supported by rclone)

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.

Files support a modification time attribute with up to 1 second precision. Directories do not have a modification time, which is shown as “Jan 1 1970”.

File hashes are supported, with a custom Mail.ru algorithm based on SHA1. If file size is less than or equal to the SHA1 block size (20 bytes), its hash is simply its data right-padded with zero bytes. Hashes of a larger file is computed as a SHA1 of the file data bytes concatenated with a decimal representation of the data length.

Removing a file or directory actually moves it to the trash, which is not visible to rclone but can be seen in a web browser. The trashed file still occupies part of total quota. If you wish to empty your trash and free some quota, you can use the rclone cleanup remote: command, which will permanently delete all your trashed files. This command does not take any path arguments.

To view your current quota you can use the rclone about remote: command which will display your usage limit (quota) and the current usage.

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

Character Value Replacement
“ 0x22 "
* 0x2A *
: 0x3A :
< 0x3C <
> 0x3E >
? 0x3F ?
\ 0x5C \
| 0x7C |

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

The wizard asks for these when you add the drive.

OAuth Client Id.

Leave blank normally.

Type: string

OAuth Client Secret.

Leave blank normally.

Type: string

User name (usually email).

Type: string · Required

Password.

This must be an app password - rclone will not work with your normal password. See the Configuration section in the docs for how to make an app password.

NB Input to this must be obscured - see rclone obscure.

Type: string · Required

Skip full upload if there is another file with same data hash.

This feature is called “speedup” or “put by hash”. It is especially efficient in case of generally available files like popular books, video or audio clips, because files are searched by hash in all accounts of all mailru users. It is meaningless and ineffective if source file is unique or encrypted. Please note that rclone may need local memory and disk space to calculate content hash in advance and decide whether full upload is required. Also, if rclone does not know file size in advance (e.g. in case of streaming or partial uploads), it will not even try this optimization.

Type: bool · Default: true

Choices:

  • true: Enable
  • false: Disable

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

Use client credentials OAuth flow.

This will use the OAUTH2 client Credentials Flow as described in RFC 6749.

Note that this option is NOT supported by all backends.

Type: bool · Default: false

Comma separated list of file name patterns eligible for speedup (put by hash).

Patterns are case insensitive and can contain ‘*’ or ‘?’ meta characters.

Type: string · Default: *.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf

Choices:

  • (empty): Empty list completely disables speedup (put by hash).
  • *: All files will be attempted for speedup.
  • *.mkv,*.avi,*.mp4,*.mp3: Only common audio/video files will be tried for put by hash.
  • *.zip,*.gz,*.rar,*.pdf: Only common archives or PDF books will be tried for speedup.

This option allows you to disable speedup (put by hash) for large files.

Reason is that preliminary hashing can exhaust your RAM or disk space.

Type: SizeSuffix · Default: 3Gi

Choices:

  • 0: Completely disable speedup (put by hash).
  • 1G: Files larger than 1Gb will be uploaded directly.
  • 3G: Choose this option if you have less than 3Gb free on local disk.

Files larger than the size given below will always be hashed on disk.

Type: SizeSuffix · Default: 32Mi

Choices:

  • 0: Preliminary hashing will always be done in a temporary disk location.
  • 32M: Do not dedicate more than 32Mb RAM for preliminary hashing.
  • 256M: You have at most 256Mb RAM free for hash calculations.

What should copy do if file checksum is mismatched or invalid.

Type: bool · Default: true

Choices:

  • true: Fail with error.
  • false: Ignore and continue.

The encoding for the backend.

See the encoding section in the overview for more info.

Type: Encoding · Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot

Description of the remote.

Type: string

File size limits depend on your account. A single file size is limited by 2G for a free account and unlimited for paid tariffs. Please refer to the Mail.ru site for the total uploaded size limits.

Note that Mailru is case insensitive so you can’t have a file called “Hello.doc” and one called “hello.doc”.