iterate-ch / cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
https://cyberduck.io/
GNU General Public License v3.0
3.31k stars 291 forks source link

Fixing support of "Keep only the last version of the file" #10375

Open cyberduck opened 6 years ago

cyberduck commented 6 years ago

11bfe86 created the issue

In Backblaze B2 website, for my buckets, I select the lifecycle setting "Keep only the last version of the file".

But then, in Cyberduck, in bucket info, "B2" tab, the checkbox "Delete files" (after 1 Days) is surprisingly checked. (thankfully, the files aren't actually deleted)


Attachments

cyberduck commented 6 years ago

11bfe86 commented

Thanks for taking care of it.

If it may help, notice that, in the above scenario, if you untick the checkbox "Delete files" in Cyberduck, then in Backblaze website, the bucket's lifecycle get configured to "Use custom lifecycle rules:"

cyberduck commented 6 years ago

@dkocher commented

When unchecking lifecycle configuration update bucket with empty list of rules. In bb3902a883e3582090873347d70b009d7e7fbbbf.

cyberduck commented 6 years ago

@dkocher commented

Keep only the last version of the file deletes prior versions of a file one day after uploading a new version or hiding the file. When choosing Keep only the last version of the file in B2, this is reflected as Delete files (after 1 Days) in Cyberduck. The nomenclature is wrong here as it has its origins from S3.

cyberduck commented 6 years ago

@dkocher commented

10384 closed as duplicate.

cyberduck commented 6 years ago

1725f65 commented

I took the liberty of carrying over my screenshot from #10384 as a visual aid, hope that's not inappropriate. I wanted to note that not just the nomenclature for the lifecycle is wrong, but the window title and the mention in the window of "Glacier" as well. I assume a unique layout (nib) for this info panel can be provided for B2 files at some point?

cyberduck commented 6 years ago

@dkocher commented

Replying to [comment:6 Iritscen]:

I took the liberty of carrying over my screenshot from #10384 as a visual aid, hope that's not inappropriate. I wanted to note that not just the nomenclature for the lifecycle is wrong, but the window title and the mention in the window of "Glacier" as well. I assume a unique layout (nib) for this info panel can be provided for B2 files at some point? I agree that we should add a proper tab for B2 and not reuse the S3 for this reason.