Why copyObject of S3AsyncClient result file with 0 Byte #3759
Unanswered
SupawiriyaSaranarak
asked this question in
Q&A
Replies: 1 comment
-
The original object size was greater than 0 bytes, I assume. Can you share an example of the object tree, so I can try to reproduce? Also, if you can reproduce it in a local environment, can you enable the verbose wirelogs? Please make sure to redact any sensitive information the logs may contain (like access keys). |
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 try to copy file from one directory to another in the same bucket in java. It seems work but when I see the file size it shows 0 byte.
I use spring webfulx and S3AsyncClient to work on it
try {
encodedUrl = URLEncoder.encode(bucket + "/" + previousObjectKey, StandardCharsets.UTF_8.toString());
s3AsyncClient.copyObject(copyRequest);
and I have tried both encoded and non-encoded already
Beta Was this translation helpful? Give feedback.
All reactions