24 Feb
2005
24 Feb
'05
5:22 a.m.
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