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

storj: fix put

Erik van Velzen9e4854955c3f
diff --git a/backend/storj/fs.go b/backend/storj/fs.go
index da37748b5..95146edbf 100644
--- a/backend/storj/fs.go
+++ b/backend/storj/fs.go
@@ -579,7 +579,7 @@ func (f *Fs) Put(ctx context.Context, in io.Reader, src fs.ObjectInfo, options .
return nil, err
}
- return newObjectFromUplink(f, "", upload.Info()), nil
+ return newObjectFromUplink(f, src.Remote(), upload.Info()), nil
}
// PutStream uploads to the remote path with the modTime given of indeterminate