django how to handel big file (image) uploads > 400MB

Go To StackoverFlow.com

2

i never did that before. i'm sure, that i need a progress bar to keep to user informed. are there some advises which way i should go? use a flash uploader (swfupload) or a "cooler" way with XMLHttpRequest.

thanks for an advise!

2012-04-04 07:38
by sspross
Usually your server (apache/lighttpd/nginx) handles the progress, ajax is just used for polling the server status and passing the %/i to the view.. example: http://fairviewcomputing.com/blog/2008/10/21/ajax-upload-progress-bars-jquery-django-nginx - Hedde van der Heide 2012-04-04 07:43


0

Try http://www.plupload.com/. It's already have upload progress status. But don't forget to send csrf in request. I'm using it on my shop at magnitofoto.ru: http://i.imgur.com/jTGKD.png

2012-04-13 09:09
by syabro
Ads