[Zope] upload to localFS with form
Paul Zwarts
paz@oratrix.com
Thu, 15 Nov 2001 18:25:51 +0100
Frank,
It would be addressed as:
doku[test]
I've been bitten with that one before. The full code:
<dtml-call expr=3D"doku[test].manage_addProduct['OFSP'].manage_addFile
(name,
file=3Dfile)">
Don't know about the rest of the code, but I can help with the first
bit...
Cheers,
Paul Zwarts
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Frank L=F6ffler
Sent: Thursday, November 15, 2001 6:13 PM
To: zope@zope.org
Subject: [Zope] upload to localFS with form
Hi,
localFS is: doku
I want to upload to a subfolder: test.
Using these codes won't work:
<dtml-with "doku.test">
<dtml-call expr=3D"manage_addProduct['OFSP'].manage_addFile (name,
file=3Dfile)">
</dtml-with>
or
<dtml-call expr=3D"doku.test.manage_addProduct['OFSP'].manage_addFile
(name, file=3Dfile)">
or
<dtml-with "doku.test">
<dtml-call expr=3D"manage_addFile (name, file=3Dfile)">
</dtml-with>
or
<dtml-call expr=3D"doku.test.manage_addFile (name, file=3Dfile)">
What's wrong ? In zope it works just fine but it doesn't if the
subfolder is in an localFS.
What does: manage_addProduct['OFSP'] mean, got it from a another
posting.
cu,
Frank
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -=20
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )