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