[Zope] Newbie: uploading file with python script (problem with it)

Dieter Maurer dieter@handshake.de
Wed, 14 Mar 2001 21:18:53 +0100 (CET)


Hans de Wit writes:
 > I have a problem uploading files via a form and a python script.
 > The content of the uploaded file after uploading it is only a string, ie the name of the 
 > file, not the file itself.
.....
 > <form action="addFile">
Forms that submit files must use

      method="POST" enctype="multipart/form-data"


Maybe, you look at

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

to learn more about form processing.


Dieter