53aa4b87fd
Before this change, if an application key limited to a prefix was in use, with trailing `/` marking the folders then rclone would HEAD the path without a trailing `/` to work out if it was a file or a folder. This returned a permission denied error, which rclone returned to the user. Failed to create file system for "b2:bucket/path/": failed to HEAD for download: Unknown 401 (401 unknown) This change assumes any errors on HEAD will make rclone assume the object does not exist and the path is referring to a directory. See: https://forum.rclone.org/t/b2-error-on-application-key-limited-to-a-prefix/22159/ |
||
---|---|---|
.. | ||
api | ||
b2.go | ||
b2_internal_test.go | ||
b2_test.go | ||
upload.go |