> I am pretty sure user ceej has coded using js, perhaps he can tell use
> which js plugin he sued.

If you are using an HTML 'file' control, all the implementations I've
seen require POSTing the upload to an iframe, then using AJAX to poll
the progress of the upload.  How you poll the progress is specific to
the backend server.

With web2py's wsgiserver, it looks like the file contents return from
the server in the request.env.wsgi_input file handle within the
wsgibase function.  Poking further, it looks like the actual
time-consuming reads happen in

if request.env.content_length:
                copystream(request.env.wsgi_input, request.body,
                           int(request.env.content_length))

The copystream copies 10**5 each pass in a loop.

Am I way off here Massimo?

Thanks,

Mark

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to