Replies: 2 comments
-
For any lost soul out there, I ended up doing this which is kind of stupid, I know! But I did not find any other way which was allowed by the SDK's API. Also, using
|
Beta Was this translation helpful? Give feedback.
0 replies
-
To simplify, you can use
|
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
-
I want to upload a directory with the new version of S3TransferManager v2 (https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/transfer-manager.html).
Everything works well except for the content type: I need to set the file content type according to the file name. For this reason, I thought to use the
UploadDirectoryRequest.Builder uploadFileRequestTransformer(Consumer<UploadFileRequest.Builder> uploadFileRequestTransformer)
But I don't know how can I retrieve the file path of the file that is going to be uploaded
Do you have any idea?
Beta Was this translation helpful? Give feedback.
All reactions