mirror of
https://github.com/rclone/rclone.git
synced 2025-02-23 02:14:11 +08:00

Including the bucket name as part of the `fileNamePrefix` passed to `b2_get_download_authorization` results in a link valid for objects that have the bucket name as part of the object path; e.g., rclone link :b2:some-bucket/some-file would result in a public link valid for the object `some-bucket/some-file` in the `some-bucket` bucket (in rclone-remote parlance, `:b2:some-bucket/some-bucket/some-file`). This will almost certainly result in a broken link. The B2 docs don't explicitly specify this behavior, but the example given for `fileNamePrefix` provides some clarification. See https://www.backblaze.com/b2/docs/b2_get_download_authorization.html.