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

Preference to set default storage class #11521

Closed
cyberduck opened this issue Jan 3, 2021 · 6 comments
Closed

Preference to set default storage class #11521

cyberduck opened this issue Jan 3, 2021 · 6 comments
Assignees
Labels
enhancement fixed googlestorage Google Cloud Storage Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

25e1c83 created the issue

Hi there,

This issue arose as a result of the fix introduced to #11062. While the "interoperability failure" issue was fixed previously, Cyberduck will now no longer honour the default storage class setting and will always upload files with storage class "Standard". As my storage bucket is using the "Archive" storage class (which, incidentally, does not appear to be supported by Cyberduck at the current moment in the "Info" tab), I have to change them manually using gsutils after each upload.

I wonder whether if it is possible to avoid specifying the "storageClass" parameter altogether, as per what itspage suggested, such that the file will upload only to the default storage class setting? I note that in versions 7.3.0 and before, there was no interoperability failure issue and the default storage class setting was honoured. Just wondering if it could be possible to revert to those settings back then.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As a workaround set the hidden configuration option googlestorage.storage.class.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 7b8855a.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone renamed

@cyberduck
Copy link
Collaborator Author

@ylangisc commented

Milestone renamed

@cyberduck
Copy link
Collaborator Author

@AliveDevil commented

As mentioned in the description the "Archive"-storage class is not supported.
Reopened to make this visible again, and expose in the preferences window.

"ARCHIVE" is missing from GoogleStorageStorageClassFeature
GoogleStorageStorageClassFeature.java:45-46

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:8 jmalek]:

As mentioned in the description the "Archive"-storage class is not supported.
Reopened to make this visible again, and expose in the preferences window.

"ARCHIVE" is missing from GoogleStorageStorageClassFeature
GoogleStorageStorageClassFeature.java:45-46
Added Glacier in 8dbf23e.

@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 googlestorage Google Cloud Storage Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants