Hi,
There is a patch [1] which is almost ready and that should be merged
in Django very soon. You should give it a try and let the developers
know on the dev-list [2].

[1] http://code.djangoproject.com/ticket/2070
[2] 
http://groups.google.com/group/django-developers/browse_thread/thread/573a81affc5f09cc#

On Jun 30, 6:15 am, umrzyk <[EMAIL PROTECTED]> wrote:
> hi there,
> i would like to give my users ability to upload a huge (i.e. 10-20 MB)
> files, mostly images. standard uploading using django newforms and
> FileField is at the moment not an option. it kills my
> server immediately. recently i read about streaming upload, and.. wow,
> that's it! so i patched my django sources with 2070-r7728.patch (no
> conflicts) and gave it a try. here are the problems:
>
> - for small files (i didn't check what is a small file, i guess it's
> something < 2.5MB as mentioned in doc) i got a validation message:
> "the
> submitted file is empty"
>
> - for larger files (i tried 11MB) i got an error from server: "413
>   Request Entity Too Large"
>
> i'm sure i'm doing something wrong, actually i'm the beginner. could
> you
> suggest where should i start searching? Or could you help me with a
> sample snippet that would upload the file in a given directory?
>
> running server is nginx 0.7.1 with mod_wsgi
>
> thanks,
> jm.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to