[Zope-dev] PUT_factory

Chris McDonough chrism at plope.com
Wed Feb 25 12:59:12 EST 2004


This looks about right.  Maybe you could take a look at your error_log
object and see if you see any tracebacks after an attempted DAV/FTP
upload?

On Wed, 2004-02-25 at 12:17, Garito wrote:
> Hi, all 
>  
> I try to override PUT_factory method in my container product
>  
> I read in several webpages I need to create a PUT_factory method in my
> product to override these mechanism
> These method could be like:
>  
> def PUT_factory(self, name, typ, body):
>     return ZopePageTemplate(name, body, content_type=typ)
>  
> In these case all the objects created by the WebDAV/FTP services will
> be ZopePageTemplates but these code doesn't work! :(
>  
> Can anyone explain me the correct solution?
>  
> Thanks!!!
> 
> ______________________________________________________________________
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )




More information about the Zope-Dev mailing list