[Zope] File upload problem?

Dieter Maurer dieter@handshake.de
Mon, 29 Apr 2002 22:14:56 +0200


Roger Ineichen writes:
 > I've a problem with upload a picture and the method cookId(id='',
 > title='', file=file). This method doesn't work for me? The method
 > cookId() doesn't give a id or a title back. Why?
 > Whats wrong?
Your file does not have a "filename" attribute.

   This may happen when you either forgot the 'enctype="multipart/form-data"'
   or the 'method=post'.


Dieter