[Zope] Uploading to LocalFS object
Dieter Maurer
dieter@handshake.de
Fri, 6 Apr 2001 22:18:51 +0200 (CEST)
paul_s_johnson@urscorp.com writes:
> <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