[Zope] WebDAV question: My FTPstat and FTPlist are never reached

Dieter Maurer dieter@handshake.de
Fri, 1 Feb 2002 20:33:12 +0100


Robert Rottermann writes:
 > The developper guide under the heading webdav support  reads as follows:
 > ----------------
 > In addition to inheriting from basic DAV classes, your classes must
 > implement PUT and manage_FTPget. These two methods are also required for FTP
 > support. So by implementing WebDAV support, you also implement FTP support.
You should not trust documentation completely...

The quoted portion says 2 things:

  1.  WebDAV needs "PUT" andd "manage_FTPget"

  2.  WebDAV support entails FTP support

While 1 is probably true, you made the experience that 2 is true
only partially. Trust your experience more than the documentation!


 > ...
 > Since I want to alter the default behaviour I am at a loss.
This means, you must find out what methods WebDAV uses and adapt
these. I would instrument "ZPublisher.Publish.publish"
with an "import pdb; pdb.set_trace()", then make a WebDAV request
(Zope will stop in the Python debugger at the "set_trace()")
and see how the request is processed.


Dieter