[Zope] Image upload id error
Phil Grove
phil.grove@flg21.com
Wed, 07 Jul 1999 15:33:29 +0100
Hey everyone again,
right, new problem. I am uploading images into a directory using:
<!--#with myFolder-->
<!--#in "['Folder']" -->
<!--#with database_images-->
<!--#in "['Image']" -->
<!--#in "objectValues(_['sequence-item'])"-->
<!--#call "manage_addImage(filename, newImage)"-->
<!--#/in-->
<!--#/in-->
<!--#/with-->
<!--#/in-->
<!--#/with-->
[filename] is generated by splitting the REQUEST.image.filename at the '\'
and using the last iteration which would come out as "file.gif" if the
upload image's filename was "d:\folder\file.gif"...
Uploading the first image is fine and uploads perfectly without any
problems, but then when you come to add another, i get this error:
- The id long-range3.gif is invalid - it is already in use.
i have checked the directory i am putting the image into and there
definately is no image with this id, what could be causing this??
Any ideas,
P.
---------------------------------------------------------------------
Phil Grove phil.grove@flg21.com
Web Development 0113 2949494
flg21 http://www.flg21.com
---------------------------------------------------------------------