[Web-SIG] transaction progress with cgi.FieldStorage

Clark C. Evans cce at clarkevans.com
Wed Jan 11 17:06:21 CET 2006


I don't know if your still interested, but I wrote something which
might help with your end-user goal of a progress meter:


Kind Regards,


P.S. it is far from perfect and marked experimental

On Thu, Dec 22, 2005 at 12:24:59PM -0500, kai wrote:
| Hi All,
| this is my first post on this list. I am working on a way to monitor the 
| progress of reading a file upload from wsgi.input.  I can currently 
| monitor the overall transfer and when individual files of a multiple 
| file upload are completed. The ultimate goal of this is to be able to 
| display a progress meter when someone is uploading a file.
| To do this I subclassed cgi.FieldStorage but when I finished I had 
| modified most of the non-trivial methods just to hook in something to 
| monitor the transfer progress, oops.
| Has anyone else found FieldStorage insufficient for certain tasks?
| Is there a general need for a more flexible FieldStorage replacement?
| kai keliikuli
| _______________________________________________
| Web-SIG mailing list
| Web-SIG at python.org
| Web SIG: http://www.python.org/sigs/web-sig
| Unsubscribe: http://mail.python.org/mailman/options/web-sig/cce%40clarkevans.comkkkkk

More information about the Web-SIG mailing list