Tamas, Keep things on the list, I'm not a personal Zope answers solution unless 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="post" ENCTYPE="multipart/form-data"> <input type=file name=file1> <input type=submit> </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 in 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 )