TransferUtility: I can upload/download to the root, but I can't do the same to a folder. Ver 3.7.305.20 #3168
-
My code
Error: When I use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Newer versions of the SDK (after version As you mentioned, the solution to this problem is using instead:
This will upload the file to |
Beta Was this translation helpful? Give feedback.
Newer versions of the SDK (after version
3.7.100
) do not allow the bucket name to contain a slash (i.e. part of the object key). See this comment for more context: #2622 (comment)As you mentioned, the solution to this problem is using instead:
This will upload the file to
s3://bucketName/mydir/client-test-5.txt
successfully.