Hi,

I have seen a peculiar behavior while uploading files using flash
uploader. (fancy uploader).

When I use following function for uploading files it always gives me
error in Flash saying :
"Error caused a send or load operation to fail (Error #2038)"

def upload_notes(request):
        ret = {'status' : '1'}
        print (simplejson.dumps(ret))
        return HttpResponse(simplejson.dumps(ret))


However if I change 2nd line of the function and make my function as:

def upload_assignement(request):
        ret = {'status' : '1'}
        print(request.FILES)
        return HttpResponse(simplejson.dumps(ret))

The uploader work perfectly alright.

So, is it mandatory to access request.FILES atleast once to get
expected behavior.

Please let me know where am I wrong?

Cheers,
Nitin
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to