Dominik Blystak <[EMAIL PROTECTED]> wrote:
>
>I am currently working on an AJAX upload progress bar written in python. The 
>AJAX part is almost done but I noticed that progress data is only written if 
>the entire file is transfered which makes the whole progress bar pointless.
>
>Is there any way in calling a function while processing an upload? 
>(e.g. like CGI::upload_hook() in perl)

Not in the standard cgi.py, but it's not hard to derive your own.  I
suspect read_binary is all you would need to override.
-- 
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to