Call the AbortMultipartUpload function and call the RetryUpload progress bar problem #2217
-
I use TransferManager to upload files in segments,Then I called AbortMultipartUpload to abort the upload,Then I called AbortMultipartUpload to abort the upload, and when the upload status is ABORTED, I called RetryUpload to continue the upload, but this operation is not to continue the upload, but to upload again. Is this correct?I want to interrupt the upload and then continue. What should I do in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I don't think you want to be calling
So you only want to call abort if you have no intention of retrying the request. If the |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I don't think you want to be calling
AbortMultiPartUpload
, because as noted in the API docs:So you only want to call abort if you have no intention of retrying the request. If the
TransferStatus
is in thefailed
state, that is when you want to callRetryUpload
.