file uploading via urllib2 (multipart/form-data)
fuzzyman at gmail.com
Fri Jan 14 05:53:45 EST 2005
Clark C. Evans wrote:
> Hello. I was wondering if anyone has built a module that works with
> urllib2 to upload file content via POST multipart/form-data. I'm
> aware of ASPN 146306, however, I need to use urllib2 beacuse I'm
> using HTTP Digest over SSL.
There is an example showing exactly that over at voidspace. I think
it's on the cgi page, as it is a companion to the cgi demo showing how
to receive file uploads.
Try : http://www.voidspace.org.uk/python/cgi.shtml
More information about the Python-list