"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
b2: fix 1TB+ uploads
dougal689555033ea8
diff --git a/backend/b2/b2.go b/backend/b2/b2.goindex d87948e37..70e4c928a 100644--- a/backend/b2/b2.go+++ b/backend/b2/b2.go@@ -2224,13 +2224,17 @@ func (f *Fs) OpenChunkWriter(ctx context.Context, remote string, src fs.ObjectInreturn info, nil, err}+ up, err := f.newLargeUpload(ctx, o, nil, src, f.opt.ChunkSize, false, nil, options...)+ if err != nil {+ return info, nil, err+ }+info = fs.ChunkWriterInfo{- ChunkSize: int64(f.opt.ChunkSize),+ ChunkSize: up.chunkSize,Concurrency: o.fs.opt.UploadConcurrency,//LeavePartsOnError: o.fs.opt.LeavePartsOnError,}- up, err := f.newLargeUpload(ctx, o, nil, src, f.opt.ChunkSize, false, nil, options...)- return info, up, err+ return info, up, nil}// Remove an object