aws-sdk-cpp icon indicating copy to clipboard operation
aws-sdk-cpp copied to clipboard

After exiting the program, restore the uploaded file

Open xiaonaiquan opened this issue 3 years ago • 3 comments

Describe the feature

I am trying write an application to continuously upload large data (multipart uploads) to Amazon's S3 Storage. However, my application needs to be able to shut down mid-transfer and pick up from where it left off the next time it's restarted.

Use Case

From playing around a little bit with the C++ SDK, the TransferManager class provides a RetryUpload function that requires a shared pointer to the TransferHandle object that is returned upon issuing an initial UploadFile call. However, the transfer handle object will no longer be in existence if the application crashes or has to shut down mid-operation.

Proposed Solution

resume a multipart upload using the TransferManager class

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [X] This feature might incur a breaking change

xiaonaiquan avatar Nov 22 '22 03:11 xiaonaiquan

Thanks for making this request. This is a useful feature and is something that we want to add to this sdk.

jmklix avatar Dec 01 '22 23:12 jmklix

So... did you add it? Feels like the thing designed for long file uploads should be able to handle restarting after interruptions?

AlexKTracerMain avatar Feb 24 '23 21:02 AlexKTracerMain

So... did you add it? Feels like the thing designed for long file uploads should be able to handle restarting after interruptions?

@AlexKTracerMain yes ,Do you have any questions?

xiaonaiquan avatar Feb 27 '23 10:02 xiaonaiquan