You may find the third-party modules "ClientForm" and "ClientCookie" to be useful.
Using ClientForm, the following code uploads a file to a particular web form: forms = ClientForm.ParseResponse(urllib2.urlopen(url)) f = forms[0] f.add_file(open(local, "rb"), filename=remote, name="file") u = f.click("attach") urllib2.urlopen(u) A web search should turn up the homepage for these modules. Jeff
pgpfIIHBz5aNO.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list