For sure! Assuming you have a file input in your page template or DTML source <input type="file" name="file"> you can post the form to a python script with some code like: container.Files.manage_addProduct['OFSP'].manage_addFile(id='', title='', file=file) return container.index_html() I'd recommend using LocalFS to store files in the filesystem rather than uploading into the ZODB -- David On Feb 4, 2004, at 3:27 PM, Low TzeWen wrote:
Hi all,
I am a super new user to zope. I am wondering if I am able to create a http upload in zope.
Can anyone advise me on this?
Thanks in advance.
Tzewen
IT Support Specialist
IS Department
UnivacPrecison Engineering Pte Ltd
Blk 4012 Ang Mo Kio Ave 10
#03-05 Techplace
Singapore 569628
Tel: 64573034 ext 80
"Knowledge is a double edged sword"
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
David Siedband -
Low TzeWen