INPUT TYPE=file in HTML

Jeff Kunce kuncej at mail.conservation.state.mo.us
Thu Jul 13 10:52:31 EDT 2000


> I've been trying to read files uploaded from an HTML <INPUT TYPE=FILE>
> field using the CGI module. Are there known problems with this?

I have an example cgi script that both creates a form and accepts an upload.
See:  uplddemo_cgi.py
At: http://starship.python.net/crew/jjkunce/

You will need to rename it to uplddemo.cgi, and adjust
the global variables as explaind in the doc string.
It's been a while since I actually tried it, but it used to work!

  --Jeff






More information about the Python-list mailing list