Sean,

I *think* you have to call manage_upload of the object itself.

So if you have a DMTLMethod called doc then it would have to be:

   doc.manage_upload([file,REQUEST])

hth

Phil
[EMAIL PROTECTED]

----- Original Message ----- 
From: "Sean McGrath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 14, 2000 12:13 PM
Subject: [Zope] manage_upload not found?


> I can call manage_addFile to add a new file to the ZODB.
> If I try and add a file with the same id as an
> existing object, I get an error from manage_addFile. Fair enough.
> I looked at the source of the management interface and
> say manage_upload used to change the contents of
> an existing object. However, when I try and use
> this Zope is saying it cannot find it.
> 
> Any ideas?
> 
> regards,
> 
> http://www.pyxie.org - an Open Source XML Processing library for Python
> 
> 
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to