[Zope] Attach File
john blair
mailtome200420032002 at yahoo.com
Thu Feb 24 00:22:38 EST 2005
Hi
I want to upload a file.The user provides the file
title and file path.
Say this is the form
<input type="text" name="fileTitle">
<input type="file" name="filePath">
Now I want the name of the file to be the id of the
file in zope.Say the user attaches the file
/var/test.doc.Then id of the file should be test.doc
add_method =
context.manage_addProduct['OFSP'].manage_addFile
add_method(??,filePath,fileTitle)
Thanks
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
More information about the Zope
mailing list