[Zope] Accessing file object to upload in an external method

2005-05-26 Thread Simon ALEXANDRE
Hi, I'm new in zope and I'm trying to upload a file on zope using localfs. I already done it through a little basic html page + python script. I would like now use it in an external method. Here is the line added in the external method: self.dir_filesystem.manage_upload(file=self.zipfile)

Re: [Zope] Accessing file object to upload in an external method

2005-05-26 Thread J Cameron Cooper
Simon ALEXANDRE wrote: I'm new in zope and I'm trying to upload a file on zope using localfs. I already done it through a little basic html page + python script. I would like now use it in an external method. Here is the line added in the external method:

Re: [Zope] Accessing file object to upload in an external method

2005-05-26 Thread Dieter Maurer
Simon ALEXANDRE wrote at 2005-5-26 10:37 +0200: ... Here is the line added in the external method: self.dir_filesystem.manage_upload(file=self.zipfile) zipfile is the name of the file in the html form (File INPUT TYPE=file NAME=zipfile SIZE=25 VALUE=) As all request parameters (such as form