"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
sharefile: pass options to rest.Opts for Put and Update
Tim Gallant385542e2f995
diff --git a/backend/sharefile/sharefile.go b/backend/sharefile/sharefile.goindex 2be175003..798bb04c5 100644--- a/backend/sharefile/sharefile.go+++ b/backend/sharefile/sharefile.go@@ -1429,8 +1429,9 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, opvar resp *http.Responsevar info api.UploadSpecificationopts := rest.Opts{- Method: "POST",- Path: "/Items(" + directoryID + ")/Upload2",+ Method: "POST",+ Path: "/Items(" + directoryID + ")/Upload2",+ Options: options,}err = o.fs.pacer.Call(func() (bool, error) {resp, err = o.fs.srv.CallJSON(ctx, &opts, &req, &info)