Hi there! Can anyone explain me why the following doesn't work: I'm trying to upload ExtImage to new folder in Zope using FTP. I have found that to tell Zope to create ExtImage instead of Image I should write external method PUT_factory and put it into the folder where I'm going to store image. For uploading ExtImage I use storbinary method of FTP object (file is representing as StringIO object). BUT: My PUT_factory doesn't work! Who can explain why? What am I doing wrong? Thanks, Alexander Klimovich
Because PUT_factory only works on PUT? Stefan --On Donnerstag, 30. Oktober 2003 12:47 +0200 Klimovich Alexander <klima@belsoft.by> wrote:
Can anyone explain me why the following doesn't work: I'm trying to upload ExtImage to new folder in Zope using FTP. I have found that to tell Zope to create ExtImage instead of Image I should write external method PUT_factory and put it into the folder where I'm going to store image. For uploading ExtImage I use storbinary method of FTP object (file is representing as StringIO object).
BUT: My PUT_factory doesn't work! Who can explain why? What am I doing wrong?
-- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/
Klimovich Alexander wrote at 2003-10-30 12:47 +0200:
Can anyone explain me why the following doesn't work: I'm trying to upload ExtImage to new folder in Zope using FTP. I have found that to tell Zope to create ExtImage instead of Image I should write external method PUT_factory and put it into the folder where I'm going to store image. For uploading ExtImage I use storbinary method of FTP object (file is representing as StringIO object).
BUT: My PUT_factory doesn't work! Who can explain why? What am I doing wrong?
You give us very few details, such as e.g.: * a precise problem description (what happens instead of what you expect) * the code of your "PUT_factory" -- Dieter
participants (3)
-
Dieter Maurer -
Klimovich Alexander -
Stefan H. Holek