Upload file with multipart/formdata

Thomas Guettler zopestoller at thomas-guettler.de
Fri Nov 8 07:26:13 EST 2002


I want to upload a binary file with the script from:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306

ASCII files get uploaded without problem, but binary data
gets cut before all 0xA1 bytes.

Any hints?

The server is zope 2.5.1, but this shouldn't be the problem,
since the upload works with a browser.

  thomas




More information about the Python-list mailing list