Re: [Zope] Uploading to LocalFS object
Thanks Dieter. That did the trick. I have a folder named "file" and I believe it was latching on to that instead of the form variable named "file".
<dtml-call "REQUEST.set('file',file)"> This is redundant, but should not be harmful. <dtml-with "LocalFS_objekt_id"> <dtml-call "manage_upload(file, id='',action='manage_workspace')"> </dtml-with> ... Produces the following error... ============================ Error Type: AttributeError Error Value: filename =========================== Strange.
Maybe, you fetch an unexpected "file" from somewhere that does not have a "filename" attribute. Replace "file" by "REQUEST.form['file']" in the "manage_upload".
If it does not help, we need (at least) the last part of the traceback.
Dieter
_______________________________________________ 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 )
participants (1)
-
paul_s_johnsonļ¼ urscorp.com