Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write modification date in metadata #11768

Closed
cyberduck opened this issue Aug 19, 2021 · 5 comments
Closed

Write modification date in metadata #11768

cyberduck opened this issue Aug 19, 2021 · 5 comments
Labels
enhancement fixed s3 AWS S3 Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

461094e created the issue

When uploading files to IDrive Cloud S3 compatible storage, using Cyberduck 7.10.1, the modified datetimes are changed to the upload time and not preserved. Understand S3 modified times are stored in the metadata.Neither syncing nor downloading these objects behaves correctly. When syncing with the local disk, the source objects are deleted and replaced with the "newer" modified eventhough the files are the same. When downloadng the files back to a local disk, the modified time is the time of upload to the S3, not the orignal time.

I also tested Cloudberry file explorer, and while the upload showed a different modification date, upon download of the file back to the file system, the original modification date was restored (from the metadata).

Please see screenshots for source, upload, and downloaded files.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

We have no implementation to store timestamps in metadata of S3 objects as it seems unfeasible because reading metadata for an object requires an additional HTTP request for every single file in an object listing.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#11783 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Relates to #11784.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 70964d7. Documentation and connection profile to read modification date in metadata forthcoming.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Must have Preferences → Transfers → Timestamps → Uploads → Preserve modification date enabled to write modification date in custom metadata on upload and use the connection profile S3 (Timestamps).cyberduckprofile from 4de1427.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement fixed s3 AWS S3 Protocol Implementation
Projects
None yet
Development

No branches or pull requests

1 participant