[Zope] File uploader

M. Adam Kendall mak@kha0s.org
17 Aug 2001 14:37:00 -0400


Todd, you are getting this error because you are trying
to divide folders by folder1 ;)   You want to use
<dtml-with "folders.folder1"> instead.

On 17 Aug 2001 14:27:18 -0400, Todd Loomis wrote:
> Error Type: AttributeError
> Error Value: __div__
> 
> Here's the code I used:
> 
> <dtml-with "folders/folder1">
>      <dtml-call expr="manage_addFile(id=REQUEST['FileName'], 
> file=REQUEST['file'])">
> </dtml-with>
> <dtml-call "RESPONSE.redirect('./index_html')">

-- 
"There's never enough time to do        |    M. Adam Kendall
 all the nothing you want."             |    mak@kha0s.org
 -Bill Watterson (Calvin and Hobbes)    |    http://www.zopelabs.com