Sync from S3 to B2 - Issue with a single sub directory

Hi there,

New to rclone; did some searching and couldn’t find an answer.

Running rclone 1.35 on both OS X (10.11) and Ubuntu (14.04 & 16.04).

I’m encountering a seemingly very minor issue on all installs attempting to clone from s3 to b2.

The issue is in regards to a single folder which produces the following error on all installs:
...062b2e832931/components/Originals/: Failed to copy: File names must not end with '/' (400 bad_request)

The odd thing is that the “file” in question is a folder, and, even more oddly, it copies over successfully. However the pruning that would occur as part of the sync operation fails as a result of this error. A large number of other folders and sub-folders from the source bucket (ie all except the one above) synchronized successfully.

    2017/02/22 23:27:01 Attempt 3/3 failed with 1 errors and: not deleting files as there were IO errors
    2017/02/22 23:27:01 Failed to sync: not deleting files as there were IO errors

Any idea what I did wrong?

Great tool either way - thanks for making it available.

I’m guessing that this is actually a 0 length file with the name ...062b2e832931/components/Originals/. s3 doesn’t have a concept of directories so that is a valid file name.

I think this is related to:

The simplest thing will be if you delete that file on s3.

Or you could tell rclone to ignore 0 length files with --min-size 1b