Jonathan, what browser are you using? I have run into problems trying to use a context object with Internet Explorer 5.0, and I vaguely recall being unable to do a context.manage_addProduct from that browser. I didn't have time to explore, just used PARENTS[0] instead of context. -- Wade Leftwich Ithaca, NY On Saturday 23 February 2002 18:39, Dieter Maurer wrote:
Date: Sat, 23 Feb 2002 13:38:20 +0100 From: Dieter Maurer <dieter@handshake.de> Subject: Re: File Upload via python
Jonathan Bryant writes: > I've been playing around with Zope for several days and really like it. I'm > amazed at how simple so many things that take alot of effort in php, asp > etc. are amazingly simple in Zope. One of those things is file upload,... > .... > What I'd like to do is easily grab the filename: > > context.manage_addProduct['OFSP'].manage_addFile(item.filename, item_title, > item) This should work as you write it here.