aws-sdk-js-v3
aws-sdk-js-v3 copied to clipboard
Add ability of breakpoint transmission to lib-storage
Is your feature request related to a problem? Please describe.
With aws-sdk/lib-storage
, I can create a upload task to concurrently transfer data to S3 , and I can implement a process bar easily .That's really good for me. When I need to transfer video file larger than 1GB to S3 , Mostly All things go well. Sometimes for some network issues, the transmission stoped.How should I resume transmission from the breakpoint ? As we all know It will cost a long time if I start from the beginning.
Describe the solution you'd like
Add a new interface like resumeUpload
, When the data transmission fail, I can resume the task by my uploadId
.
Describe alternatives you've considered
By now, I have to hack with MultipartUploadCommand
uploadPartCommand
etc in aws-sdk/client-s3
. And unfortunately I didn't find a clear example of breakpoint transmission yet.
Additional context
The S3 Transfer Manager in AWS SDK for Java v1 supports pause/resume. The application has to explicitly call pause though.
Blog post: https://aws.amazon.com/blogs/developer/pausing-and-resuming-transfers-using-transfer-manager/
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.