On Mar 19, 8:50 am, Thomas Robitaille <thomas.robitai...@gmail.com> wrote: > 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' > enctype="multipart/form-data"> > <input name="userfile" type="file"> > </form>
have you seen http://code.activestate.com/recipes/146306/ -- http://mail.python.org/mailman/listinfo/python-list