Uploading a file using POST
justin.mailinglists at gmail.com
Thu Mar 19 03:20:44 CET 2009
On Mar 19, 8:50 am, Thomas Robitaille <thomas.robitai... at gmail.com>
> I am trying to upload a binary file (a tar.gz file to be exact) to a
> web server using POST, from within a python script.
> What I would like is essentially the equivalent of
> <form name='proceedings' method='post' action='www.whatever.com'
> <input name="userfile" type="file">
have you seen http://code.activestate.com/recipes/146306/
More information about the Python-list