2015-09-03 00:37:42 +02:00
---
title: "Overview of cloud storage systems"
description: "Overview of cloud storage systems"
type: page
date: "2015-09-06"
---
# Overview of cloud storage systems #
2017-10-28 08:03:51 +02:00
Each cloud storage system is slightly different. Rclone attempts to
2015-09-03 00:37:42 +02:00
provide a unified interface to them, but some underlying differences
show through.
## Features ##
Here is an overview of the major features of each cloud storage system.
2017-08-06 12:49:52 +02:00
| Name | Hash | ModTime | Case Insensitive | Duplicate Files | MIME Type |
| ---------------------------- |:-----------:|:-------:|:----------------:|:---------------:|:---------:|
| Amazon Drive | MD5 | No | Yes | No | R |
| Amazon S3 | MD5 | Yes | No | No | R/W |
| Backblaze B2 | SHA1 | Yes | No | No | R/W |
| Box | SHA1 | Yes | Yes | No | - |
| Dropbox | DBHASH † | Yes | Yes | No | - |
| FTP | - | No | No | No | - |
| Google Cloud Storage | MD5 | Yes | No | No | R/W |
| Google Drive | MD5 | Yes | No | Yes | R/W |
| HTTP | - | No | No | No | R |
| Hubic | MD5 | Yes | No | No | R/W |
| Microsoft Azure Blob Storage | MD5 | Yes | No | No | R/W |
| Microsoft OneDrive | SHA1 | Yes | Yes | No | R |
| Openstack Swift | MD5 | Yes | No | No | R/W |
2017-09-19 17:09:43 +02:00
| pCloud | MD5, SHA1 | Yes | No | No | W |
2017-08-15 10:28:22 +02:00
| QingStor | MD5 | No | No | No | R/W |
2017-09-25 19:10:38 +02:00
| SFTP | MD5, SHA1 ‡ | Yes | Depends | No | - |
2017-10-02 21:29:23 +02:00
| WebDAV | - | Yes †† | Depends | No | - |
2017-08-06 12:49:52 +02:00
| Yandex Disk | MD5 | Yes | No | No | R/W |
| The local filesystem | All | Yes | Depends | No | - |
2016-01-13 11:29:43 +01:00
### Hash ###
2017-08-19 14:35:17 +02:00
The cloud storage system supports various hash types of the objects.
2016-01-13 11:29:43 +01:00
The hashes are used when transferring data as an integrity check and
2015-09-03 00:37:42 +02:00
can be specifically used with the `--checksum` flag in syncs and in
the `check` command.
2017-07-09 00:31:58 +02:00
To use the verify checksums when transferring between cloud storage
systems they must support a common hash type.
2016-01-13 11:29:43 +01:00
2017-05-26 16:09:31 +02:00
† Note that Dropbox supports [its own custom
hash](https://www.dropbox.com/developers/reference/content-hash).
This is an SHA256 sum of all the 4MB block SHA256s.
2017-09-25 19:10:38 +02:00
‡ SFTP supports checksums if the same login has shell access and `md5sum`
2017-08-06 12:49:52 +02:00
or `sha1sum` as well as `echo` are in the remote's PATH.
2017-10-02 21:29:23 +02:00
†† WebDAV supports modtimes when used with Owncloud and Nextcloud only.
2015-09-03 00:37:42 +02:00
### ModTime ###
The cloud storage system supports setting modification times on
objects. If it does then this enables a using the modification times
as part of the sync. If not then only the size will be checked by
default, though the MD5SUM can be checked with the `--checksum` flag.
All cloud storage systems support some kind of date on the object and
these will be set when transferring from the cloud storage system.
2015-11-14 12:20:04 +01:00
### Case Insensitive ###
2015-09-03 00:37:42 +02:00
If a cloud storage systems is case sensitive then it is possible to
have two files which differ only in case, eg `file.txt` and
`FILE.txt` . If a cloud storage system is case insensitive then that
isn't possible.
This can cause problems when syncing between a case insensitive
system and a case sensitive system. The symptom of this is that no
matter how many times you run the sync it never completes fully.
2017-01-31 21:34:11 +01:00
The local filesystem and SFTP may or may not be case sensitive
depending on OS.
2015-09-03 00:37:42 +02:00
2016-01-13 11:29:43 +01:00
* Windows - usually case insensitive, though case is preserved
2015-09-03 00:37:42 +02:00
* OSX - usually case insensitive, though it is possible to format case sensitive
* Linux - usually case sensitive, but there are case insensitive file systems (eg FAT formatted USB keys)
Most of the time this doesn't cause any problems as people tend to
avoid files whose name differs only by case even on case sensitive
systems.
### Duplicate files ###
If a cloud storage system allows duplicate files then it can have two
objects with the same name.
2016-03-22 16:23:37 +01:00
This confuses rclone greatly when syncing - use the `rclone dedupe`
command to rename or remove duplicates.
2016-09-12 18:30:37 +02:00
2016-09-21 23:13:24 +02:00
### MIME Type ###
MIME types (also known as media types) classify types of documents
using a simple text classification, eg `text/html` or
`application/pdf` .
Some cloud storage systems support reading (`R`) the MIME type of
objects and some support writing (`W`) the MIME type of objects.
The MIME type can be important if you are serving files directly to
HTTP from the storage system.
If you are copying from a remote which supports reading (`R`) to a
remote which supports writing (`W`) then rclone will preserve the MIME
types. Otherwise they will be guessed from the extension, or the
remote itself may assign the MIME type.
2016-09-12 18:30:37 +02:00
## Optional Features ##
All the remotes support a basic set of features, but there are some
optional features supported by some remotes used to make some
operations more efficient.
2017-08-19 14:35:17 +02:00
| Name | Purge | Copy | Move | DirMove | CleanUp | ListR | StreamUpload |
| ---------------------------- |:-----:|:----:|:----:|:-------:|:-------:|:-----:|:------------:|
| Amazon Drive | Yes | No | Yes | Yes | No [#575 ](https://github.com/ncw/rclone/issues/575 ) | No | No |
2017-09-24 21:59:31 +02:00
| Amazon S3 | No | Yes | No | No | No | Yes | Yes |
| Backblaze B2 | No | No | No | No | Yes | Yes | Yes |
2017-08-19 14:35:17 +02:00
| Box | Yes | Yes | Yes | Yes | No [#575 ](https://github.com/ncw/rclone/issues/575 ) | No | Yes |
| Dropbox | Yes | Yes | Yes | Yes | No [#575 ](https://github.com/ncw/rclone/issues/575 ) | No | Yes |
| FTP | No | No | Yes | Yes | No | No | Yes |
2017-09-24 21:59:31 +02:00
| Google Cloud Storage | Yes | Yes | No | No | No | Yes | Yes |
| Google Drive | Yes | Yes | Yes | Yes | Yes | No | Yes |
2017-08-19 14:35:17 +02:00
| HTTP | No | No | No | No | No | No | No |
2017-09-24 21:59:31 +02:00
| Hubic | Yes † | Yes | No | No | No | Yes | Yes |
2017-08-19 14:35:17 +02:00
| Microsoft Azure Blob Storage | Yes | Yes | No | No | No | Yes | No |
2017-09-24 21:59:31 +02:00
| Microsoft OneDrive | Yes | Yes | Yes | No [#197 ](https://github.com/ncw/rclone/issues/197 ) | No [#575 ](https://github.com/ncw/rclone/issues/575 ) | No | No |
| Openstack Swift | Yes † | Yes | No | No | No | Yes | Yes |
2017-09-19 17:09:43 +02:00
| pCloud | Yes | Yes | Yes | Yes | Yes | No | No |
2017-09-24 21:59:31 +02:00
| QingStor | No | Yes | No | No | No | Yes | No |
2017-08-19 14:35:17 +02:00
| SFTP | No | No | Yes | Yes | No | No | Yes |
2017-10-02 21:29:23 +02:00
| WebDAV | Yes | Yes | Yes | Yes | No | No | Yes ‡ |
2017-09-24 21:59:31 +02:00
| Yandex Disk | Yes | No | No | No | Yes | Yes | Yes |
2017-08-19 14:35:17 +02:00
| The local filesystem | Yes | No | Yes | Yes | No | No | Yes |
2016-09-12 18:30:37 +02:00
### Purge ###
This deletes a directory quicker than just deleting all the files in
the directory.
† Note Swift and Hubic implement this in order to delete directory
markers but they don't actually have a quicker way of deleting files
other than deleting them individually.
2017-10-02 21:29:23 +02:00
‡ StreamUpload is not supported with Nextcloud
2016-09-12 18:30:37 +02:00
### Copy ###
Used when copying an object to and from the same remote. This known
as a server side copy so you can copy a file without downloading it
and uploading it again. It is used if you use `rclone copy` or
`rclone move` if the remote doesn't support `Move` directly.
If the server doesn't support `Copy` directly then for copy operations
the file is downloaded then re-uploaded.
### Move ###
Used when moving/renaming an object on the same remote. This is known
as a server side move of a file. This is used in `rclone move` if the
server doesn't support `DirMove` .
If the server isn't capable of `Move` then rclone simulates it with
`Copy` then delete. If the server doesn't support `Copy` then rclone
will download the file and re-upload it.
### DirMove ###
This is used to implement `rclone move` to move a directory if
possible. If it isn't then it will use `Move` on each file (which
falls back to `Copy` then download and upload - see `Move` section).
### CleanUp ###
This is used for emptying the trash for a remote by `rclone cleanup` .
If the server can't do `CleanUp` then `rclone cleanup` will return an
error.
2017-06-06 17:40:00 +02:00
### ListR ###
The remote supports a recursive list to list all the contents beneath
a directory quickly. This enables the `--fast-list` flag to work.
See the [rclone docs ](/docs/#fast-list ) for more details.
2017-08-19 14:35:17 +02:00
### StreamUpload ###
Some remotes allow files to be uploaded without knowing the file size
in advance. This allows certain operations to work without spooling the
file to local disk first, e.g. `rclone rcat` .