"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go to file
Nick Craig-Wood 98fd00a655 serve sftp: fix checksum detection - Fixes #6351
Before this change, rclone serve sftp operating with a new rclone
after the md5sum/sha1sum detection was reworked to just run a plain
`md5sum`/`sha1sum` command in

3ea82032e7 sftp: support md5/sha1 with rsync.net #3254

Failed to signal to the remote that md5sum/sha1sum wasn't supported as
in

71e172a139 serve/sftp: support empty "md5sum" and "sha1sum" commands

We unconditionally return good hashes even if the remote being served
doesn't support the hash type in question.

This fix checks the hash type is supported and returns an error

    MD5 hash not supported

When the backend is first contacted this will cause the sftp backend
to detect that the hash type isn't available.

Unfortunately this may have cached the wrong state so editing or
remaking the config may be necessary to fix it.
2022-08-05 17:16:23 +01:00
.github Revert "build: lint with go1.18 until golangci-lint is updated" 2022-08-05 16:04:54 +01:00
backend s3: add --s3-decompress flag to download gzip-encoded files 2022-08-05 16:45:23 +01:00
bin new backend: hidrive - fixes #1069 2022-07-08 18:24:54 +01:00
cmd serve sftp: fix checksum detection - Fixes #6351 2022-08-05 17:16:23 +01:00
cmdtest build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
contrib serve/docker: build docker plugin for multiple platforms #5668 2021-10-21 13:01:23 +03:00
docs s3: implement --s3-version-at flag - Fixes #1776 2022-08-05 16:45:23 +01:00
fs fs: fix parsing of times and durations of the form "YYYY-MM-DD HH:MM:SS" 2022-08-05 16:45:23 +01:00
fstest fstests: Make InternalTestFiles so the internal tests know the current state 2022-08-05 16:42:30 +01:00
graphics build: Add file properties and icon to Windows executable (fixes #4304) 2020-06-11 09:26:14 +01:00
lib lib/readers: add GzipReader 2022-08-05 16:45:23 +01:00
librclone build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
vfs build: reformat comments to pass go1.19 vet 2022-08-05 16:35:41 +01:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore chunker: fix md5all test for no-meta test remotes 2021-10-18 18:04:07 +03:00
.golangci.yml Revert "build: disable revive linter pending a fix in golangci-lint" 2022-08-03 13:14:51 +01:00
CONTRIBUTING.md Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile build: add an rclone user to the Docker image but don't use it by default 2021-02-11 17:45:44 +00:00
go.mod mega: Fix nil pointer exception when bad node received 2022-08-04 10:22:57 +01:00
go.sum mega: Fix nil pointer exception when bad node received 2022-08-04 10:22:57 +01:00
MAINTAINERS.md storj: rename tardigrade backend to storj backend #5616 2022-02-11 11:04:15 +00:00
Makefile Configurable version suffix independent of version number 2022-05-17 12:10:01 +01:00
MANUAL.html Version v1.59.0 2022-07-09 18:09:25 +01:00
MANUAL.md Version v1.59.0 2022-07-09 18:09:25 +01:00
MANUAL.txt Version v1.59.0 2022-07-09 18:09:25 +01:00
notes.txt docs: spelling: etc. 2020-10-28 18:16:23 +00:00
rclone.1 Version v1.59.0 2022-07-09 18:09:25 +01:00
rclone.go lib: add plugin support 2019-09-29 11:05:10 +01:00
README.md new backend: hidrive - fixes #1069 2022-07-08 18:24:54 +01:00
RELEASE.md build: more docs on upgrading dependencies 2021-11-10 10:34:56 +00:00
VERSION Start v1.60.0-DEV development 2022-07-09 20:43:17 +01:00

rclone logo rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum

Build Status Go Report Card GoDoc Docker Pulls

Rclone

Rclone ("rsync for cloud storage") is a command-line program to sync files and directories to and from different cloud storage providers.

Storage providers

Please see the full list of all storage providers and their features

Virtual storage providers

These backends adapt or modify other storage providers

  • Alias: rename existing remotes 📄
  • Cache: cache remotes (DEPRECATED) 📄
  • Chunker: split large files 📄
  • Combine: combine multiple remotes into a directory tree 📄
  • Compress: compress files 📄
  • Crypt: encrypt files 📄
  • Hasher: hash files 📄
  • Union: join multiple remotes to work together 📄

Features

  • MD5/SHA-1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, e.g. two different cloud accounts
  • Optional large file chunking (Chunker)
  • Optional transparent compression (Compress)
  • Optional encryption (Crypt)
  • Optional FUSE mount (rclone mount)
  • Multi-threaded downloads to local disk
  • Can serve local or remote files over HTTP/WebDAV/FTP/SFTP/DLNA

Installation & documentation

Please see the rclone website for:

Downloads

License

This is free software under the terms of the MIT license (check the COPYING file included in this package).