"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
Fix Multipart upload check
Fionerab9e16b36e520
diff --git a/lib/rest/rest.go b/lib/rest/rest.goindex bca249053..e26336560 100644--- a/lib/rest/rest.go+++ b/lib/rest/rest.go@@ -393,7 +393,7 @@ func (api *Client) callCodec(opts *Opts, request interface{}, response interfaceopts.Body = bytes.NewBuffer(requestBody)}}- isMultipart := (opts.MultipartParams != nil || opts.MultipartMetadataName != "") && opts.Body != nil+ isMultipart := (opts.MultipartParams != nil || opts.MultipartContentName != "") && opts.Body != nilif isMultipart {params := opts.MultipartParamsif params == nil {