Set content type metadata during uploading directory to S3 #4190
Unanswered
asemeria
asked this question in
Migration from v1 to v2
Replies: 1 comment
-
You can use Would this be sufficient, or would you like to see something more close to TransferManager v1 like directly providing a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to set the metadata for some files according to a naming logic.
I would like to accomplish that with S3TransferManager (https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/transfer-manager.html), but I cannot find a method to do it.
With the TransferManager library, this was achievable through the method:
MultipleFileUpload uploadDirectory(String bucketName, String virtualDirectoryKeyPrefix, File directory, boolean includeSubdirectories, ObjectMetadataProvider metadataProvider)
Using the metadataProvider, it was possible to set the metadata for each file.
How can I achieve the same functionality with S3TransferManager?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions