[Twisted] how to find out filenames of uploaded files?

Peter Hansen peter at engcorp.com
Mon Feb 16 15:24:15 CET 2004


Frantisek Fuka wrote:
> 
> When I upload files using HTML form, i can get the contents of these
> files from request.args. But how do I find out the filenames under which
> the files were uploaded?

Is this information even provided by the client?  I would have thought
that the client sent only the data and the name of the form field to
which it belongs.

I haven't checked the HTTP/HTML standards though... have you?

-Peter



More information about the Python-list mailing list