Search code examples
javaamazon-web-servicesamazon-s3multipart-upload

S3AsyncClient resume multipart upload after application restart


I'm using S3AsyncClient client in Java to upload a big file using multipart upload.

If the application restarts during upload, a new S3AsyncClient instance is created with a new uploadId.

Is it possible to complete a multipart upload with a new uploadId?


Solution

  • Is it possible to complete a multipart upload with a new uploadId?

    No, you require the same uploadId used to first initiate the multipart upload.