[Zope] image uploading

Phil Harris phil.harris@zope.co.uk
Thu, 28 Jun 2001 21:51:13 +0100


Chris

You mean you don't get paid to answer these questions/cause all these
problems.

8=AC)


----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Tamas Amon" <sajt@amon.hu>; <zope@zope.org>
Sent: Thursday, June 28, 2001 4:58 PM
Subject: Re: [Zope] image uploading


> Tamas,
>
> Keep things on the list, I'm not a personal Zope answers solution unles=
s
you pay
> me ;-)
>
> Chris
>
> Tamas Amon wrote:
> >
> > Now wll,
> > I try the next:
> > --
> > <dtml-if file1>
> > <!--#call "REQUEST.set('randomID', _.random.random()*1000000000)"-->
> > <!--#call "REQUEST.set('randomID',_.str(_.int(randomID)))"-->
> > <dtml-var randomID>
> > <!--#call "manage_addImage('/images/'+randomID,REQUEST['file1'],'')"-=
->
> > </dtml-if>
> >
> > <form method=3D"post" ENCTYPE=3D"multipart/form-data">
> > <input type=3Dfile name=3Dfile1>
> > <input type=3Dsubmit>
> > </form>
> > <dtml-var REQUEST>
> > --
> >
> > And when I want to upload a picture I get:
> > Error Type: Bad Request
> > Error Value: The id "/images/148842072" contains characters illegal i=
n
URLs.
> >
> > What is the problem, or how I can move this picture to an other
directory?
> >
> > >-----Original Message-----
> > >From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> > >Chris Withers
> > >Sent: Thursday, June 28, 2001 4:53 PM
> > >To: zope@zope.org
> > >Subject: re: [Zope] image uploading
> > >
> > >
> > >Tamas Amon wrote:
> > >>
> > >> Hello,
> > >>
> > >> Yes I read it, but i didn't find anything. Where can I find
> > >> somethig? (Which chapter?)
> > >
> > >In that case, may I suggest the mailing list archives:
> > >http://zope.nipltd.com/public/lists.html
> > >
> > >cheers,
> > >
> > >Chris
> > >
> > >_______________________________________________
> > >Zope maillist  -  Zope@zope.org
> > >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  -  Zope@zope.org
> 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 )