dimanche 28 juin 2015

Uploading files/contents of a local folder to S3 in Django framework

I have very limited experience with Django framework. I am trying to create a website in Django so users (for now assume any user) can upload contents of a local folder to a particular folder in S3. He/she can choose out of a few locations on a s3 bucket where they want to upload. I am using django-storage and followed the steps http://ift.tt/1sJyJfR to upload a single file in S3 bucket. That works, but now I want to adapt this code to upload multiple files at a time, if possible with a progress bar. Can someone suggest the best yet simple way to do it. It would be even great if you can point me to some code snippets for it. Is django-storage the best option or shall I look into other packages.

Thanks in advance your help :)

Aucun commentaire:

Enregistrer un commentaire