Scripting HTTP POST - multipart/form-data

Wade Leftwich wade at lightlink.com
Tue Jul 20 20:24:19 EDT 2004


Jeff Shannon <jeff at ccvcorp.com> wrote in message news:<10fojr85tvg4i28 at corp.supernews.com>...
> I'm looking to script a routine file-upload through an HTTP server 
> (which I don't have access to).  I've got specs on the CGI app that 
> receives this upload (i.e. field names and expected contents).
> 

Here's a recipe I posted to the Python Cookbook a couple of years ago.
Works with IIS.
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306

-- Wade Leftwich
Ithaca, NY



More information about the Python-list mailing list