How to upload to S3 with Pause/Resume support?

后端 未结 7 2003
日久生厌
日久生厌 2020-12-30 15:31

I would like to know how to upload a file to Amazon S3 with \'Pause and Resume\' support? (Via a web browser).

Are there any sample web applications available? Any p

相关标签:
7条回答
  • 2020-12-30 15:59

    You'll need a client something like this: https://github.com/23/resumable.js

    And a server that:

    1. Writes the chunks somewhere (locally or to S3)
    2. Uploads the fully-assembled file to S3.

    You are not going to be able to do it straight from the browser to S3.

    Update: S3 supports CORS now. http://aws.amazon.com/about-aws/whats-new/2012/08/31/amazon-s3-announces-cross-origin-resource-sharing-CORS-support/

    0 讨论(0)
提交回复
热议问题