"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
sugarsync: pass options to rest.Opts for Put and Update
Tim Gallant3130f870bbca
diff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.goindex 2df0b0087..ae306caae 100644--- a/backend/sugarsync/sugarsync.go+++ b/backend/sugarsync/sugarsync.go@@ -733,7 +733,7 @@ func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options .return existingObj, existingObj.Update(ctx, in, src, options...)case fs.ErrorObjectNotFound:// Not found so create it- return f.PutUnchecked(ctx, in, src)+ return f.PutUnchecked(ctx, in, src, options...)default:return nil, err}@@ -1320,6 +1320,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, opRootURL: o.id,Path: "/data",NoResponse: true,+ Options: options,Body: in,}if size >= 0 {