From bf21db0ac446fbe97e1dde807c5616de00457ba5 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 27 Oct 2023 16:45:37 +0100 Subject: [PATCH] b2: fix multi-thread upload with copyto going to wrong name See: https://forum.rclone.org/t/errors-and-failure-with-big-file-upload-to-b2/42522/ --- backend/b2/b2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()