On 7/6/05, Garito <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson escribió:
> >>does this work on a folder?
> >Sure it does. Did you understand any of my code? I subclassed it on
> >the folder class.
> >>The struct.xml function is on a folder object and I would like
> >>struct.xml as an object contained by the folder one
> >This is completely outside the zope management interface. Perhaps it
> >is possible to override the PUT() function inside Zope but I doubt it.
> >Look into writing your own python product.
> >>Mis Cosas
> Yes, I think I understand your code but correct me if I get wrong: this
> code converts your folder in a file on the FTP server
> But what I need is to see the method like a file on the folder not the
> folder itself
> Did your code works like I need?
This is getting confusing. I can't have a file (seen when listing a
folder) that is clever enough to do PUT() calls on itself.
My code showed how to put a PUT() function on a folder (Folder-based).
That means that if you do a PUT request onto the Folder, (eg.
uploading a file) it get's picked up by that method.
> Mis Cosas
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -