jeudi 21 mai 2015

Upload file to s3 from Django form without using local memory

I have a video upload page that currently accepts a user upload and sends that to an s3 bucket via boto.

The problem is, videos that are too large eat up too much local memory. Is there a way to upload a video to s3 in slices? I'd like to be able to specify how many bytes are stored before it is uploaded.

Is there a way to make a 500mb upload only take up 10mb of space at a time?

I looked into this: http://ift.tt/1cXBgAh but that will complicate how our current forms work.




Aucun commentaire:

Enregistrer un commentaire