soto-project / soto

Swift SDK for AWS that works on Linux, macOS and iOS
https://soto.codes
Apache License 2.0
878 stars 83 forks source link

Multiplepart upload pause, resume and stop state manage #654

Closed miteshpopenxcell closed 1 year ago

adam-fowler commented 1 year ago

You can throw an error from the progress callback to pause a multipart upload. If you catch the error thrown by the multipart system it will include this error plus a structure that will allow you to resume the upload with S3.ResumeMultipartUpload.

miteshpopenxcell commented 1 year ago

Hello,

Thank you for your quick reply can you provide me with a detailed code?

adam-fowler commented 1 year ago

I'm not here to write your code, but you can find a more detailed answer here https://github.com/soto-project/soto/discussions/616

miteshpopenxcell commented 1 year ago

okay thanks