Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

b2: fix multi-thread upload with copyto going to wrong name

Nick Craig-Woodbf21db0ac446
diff --git a/backend/b2/b2.go b/backend/b2/b2.go
index 8a5d0a704..35540efcb 100644
--- a/backend/b2/b2.go
+++ b/backend/b2/b2.go
@@ -2079,7 +2079,7 @@ func (f *Fs) OpenChunkWriter(ctx context.Context, remote string, src fs.ObjectIn
// Temporary Object under construction
o := &Object{
fs: f,
- remote: src.Remote(),
+ remote: remote,
}
bucket, _ := o.split()