Uploading a file via POST ?
Steve Purcell
stephen_purcell at yahoo.com
Tue Mar 27 11:30:51 EST 2001
Oliver Hofmann wrote:
> Is there an easy way to upload a file and pass parameters to the
> server script?
If what you really want to do is programmatically upload a file from a python
script to a CGI on the server, you may be able to use or steal some code from
http://webunit.sourceforge.net/
It's a side project I'm just starting to hack on, related to web testing;
the code currently there supports multipart form submissions.
-Steve
--
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/
Any opinions expressed herein are my own and not necessarily those of Yahoo
More information about the Python-list
mailing list