file uploading via urllib2 (multipart/form-data)

C

Clark C. Evans

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.

Cheers,

Clark
 
F

Fuzzyman

Clark said:
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.

Cheers,

Clark

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
Regards,

Fuzzy
http://www.voidspac.org.uk/python/index.shtml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,783
Latest member
RickeyDort

Latest Threads

Top