CGI File Uploads and Progress Bars

Diez B. Roggisch deets at nospam.web.de
Thu Sep 8 04:09:05 EDT 2005


> So, bottom line: Does anyone know how to get the size of the incoming file
> data without reading the whole thing into a string?  Can I do something with
> content_header?

http://www.faqs.org/rfcs/rfc1867.html

It seems that _maybe_ you can use the content-length http header. But it 
looks as if it's not mandatory in this case - and of course uploading 
multiple files will only allow for an overall percentage.


Diez



More information about the Python-list mailing list