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.29k stars 290 forks source link

S3 Versioning: Wrong version of files downloaded when parent folder is downloaded #5758

Closed cyberduck closed 13 years ago

cyberduck commented 13 years ago

0058ac8 created the issue

Steps to reproduce:

It appears that Cyberduck does not download the latest version of files in versioned buckets when a folder is copied. Same behaviour when the right-click 'Download To' option is used

If you drag the text.txt file itself to the desktop, then it does download the correct version.

cyberduck commented 13 years ago

@dkocher commented

I currently get arbitrary results here and I don't think it is related to downloading a folder or a single file. When selecting the default (latest) file for download we always use the default GET with no version information whatsoever which should always return the latest version as with non versioned buckets. Have to investigate with AWS.

I can replicate the issue as described in the ticket.

cyberduck commented 13 years ago

@dkocher commented

The issue is that when download a folder all of its content including all versions are downloaded eventually overriding the locally where you will have an arbitrary version depending on what version was downloaded latest.

cyberduck commented 13 years ago

@dkocher commented

In d44422c3a44837903ac8284244b7ebd8f1bf4c69.