"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 azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
crypt: fix uploads with --crypt-no-data-encryption
Nick Craig-Wood1cb31e8cc71a
diff --git a/backend/crypt/crypt.go b/backend/crypt/crypt.goindex 227a42587..2c40a1835 100644--- a/backend/crypt/crypt.go+++ b/backend/crypt/crypt.go@@ -999,6 +999,9 @@ func (o *ObjectInfo) Size() int64 {if size < 0 {return size}+ if o.f.opt.NoDataEncryption {+ return size+ }return o.f.cipher.EncryptedSize(size)}