[Zope] Zope newbee fighting with manage_addNewFile

Philippe Jadin philippe@123piano.com
Wed, 17 Oct 2001 13:17:33 +0200


"Hans N. Beck" wrote:
> 
> Hi,
> 
> I've build the Zoo Example form the Zope book, but instead of guest list
> I want to add documents (that means a document list instead of guest
> list)
> I done a
> 
> context.manage_addFile(id, title="test", file=path),
> 
> where "path" is given by  a dtml form. But this only creates files
> containing one single string
> indentically to "path", nothing to see from the content of the file.
> What's going wrong ? Permissions are set correctly, I think.

Is your html form using a "file" type input box ?

Philippe