==================
flask-s3-resumable
==================

This is a sample project to demonstrate how to upload directly to Amazon S3 via CORS using Flask making use of the multipart upload REST API.

The uploaded file will be chunked and sent to S3 concurrently. Every failed Ajax request will be retried until successful.

Using
=====

- Make sure the permission and CORS configuration of your S3 bucket are set properly.

- Fill in these values in app.py:

  * AWS_ACCESS_KEY_ID

  * AWS_SECRET_KEY

  * S3_BUCKET_NAME

- Run app.py as usual.

    python app.py


Useful Docs
===========

`Amazon: Multipart Upload Overview <http://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html>`_

`Amazon: API Support for Multipart Upload <http://docs.aws.amazon.com/AmazonS3/latest/dev/sdksupportformpu.html>`_

`Amazon: Signing and Authenticating REST Requests <http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html>`_

`Amazon: Enabling Cross-Origin Resource Sharing <http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html>`_

Useful References
=================

`mule-uploader <https://github.com/cinely/mule-uploader>`_

`s3-multipart-upload-browser <https://github.com/ienzam/s3-multipart-upload-browser>`_

==================
flask-s3-multipart
==================

This is a sample project to demonstrate how to upload directly to Amazon S3 via CORS using Flask making use of the multipart upload REST API.

The uploaded file will be chunked and sent to S3 concurrently. Every failed Ajax request will be retried until successful.

Using
=====

- Make sure the permission and CORS configuration of your S3 bucket are set properly.

- Fill in these values in app.py:

  * AWS_ACCESS_KEY_ID

  * AWS_SECRET_KEY

  * S3_BUCKET_NAME

- Run app.py as usual.

    python app.py


Useful Docs
===========

`Amazon: Multipart Upload Overview <http://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html>`_

`Amazon: API Support for Multipart Upload <http://docs.aws.amazon.com/AmazonS3/latest/dev/sdksupportformpu.html>`_

`Amazon: Signing and Authenticating REST Requests <http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html>`_

`Amazon: Enabling Cross-Origin Resource Sharing <http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html>`_

Useful References
=================

`mule-uploader <https://github.com/cinely/mule-uploader>`_

`s3-multipart <https://github.com/maxgillett/s3_multipart>`_

Fix wrong reference. More suitable title
Fix wrong reference. More suitable title
