How to resume the multipart upload by uploading the failure parts? #2054
Unanswered
microyahoo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use the aws sdk to implement
multipart upload
andresume upload
.manager.NewUploader
has realized the function of multipart upload which uses multiple goroutines to upload multiparts. If the file I want to upload is very large, network failure or other factors cause the upload to fail. If I setLeavePartsOnError=true
, the successfully uploaded multiparts will be kept. After a while, the network is restored later, I hope to resume uploading, but it is best to skip the successfully uploaded multiparts before. How does the existing API realize this function? It would be better if you can provide a simple example, thanks!Beta Was this translation helpful? Give feedback.
All reactions