Is Zope's webdav interface documented anywhere, such that I could find the necessary methods that I must write to webdav-enable a custom class? The situation is such that my product will define a single Zope class. An application will use only one instance of this class, which will pull the strings of a relational database and a file system, rather than objects in the ZODB. The relational data dynamically defines the navigational structure of the documents stored on disk. Thus, the webdav behaviors that my class automatically inherits will not work for me, BUT I assume that if I override Zope's default webdav methods I can provide similar functionality. I essentially need to know the webdav interface, i.e. what methods Zope calls to list folder contents, retrieve a file, lock a file, etc, etc. I would be grateful even if someone would just point me to the particular file(s) where this code is implemented in Zope...
Subclassing SImpleItem should handle most magic for you. The sources are in lib/python/webwav. -aj --On Montag, 12. Januar 2004 8:52 Uhr -0500 nwingfield@che-llp.com wrote:
Is Zope's webdav interface documented anywhere, such that I could find the necessary methods that I must write to webdav-enable a custom class? The situation is such that my product will define a single Zope class. An application will use only one instance of this class, which will pull the strings of a relational database and a file system, rather than objects in the ZODB. The relational data dynamically defines the navigational structure of the documents stored on disk. Thus, the webdav behaviors that my class automatically inherits will not work for me, BUT I assume that if I override Zope's default webdav methods I can provide similar functionality. I essentially need to know the webdav interface, i.e. what methods Zope calls to list folder contents, retrieve a file, lock a file, etc, etc. I would be grateful even if someone would just point me to the particular file(s) where this code is implemented in Zope...
Hi, Anybody experienced this problem ? When trying to use WebDav from a windows (2000 or XP) client, using the built-in webfolders function, i can create a folder and even rename it, but when trying to copy files in it , it toook aaaaaaaaages , such amount of time that, at first, i thought the process was stuck. I am doing Apache Proxying ... I tryied with Cadaver under linux and it worked straight away !! (could copy mutltiple files using mput) Any hint would help as my users are Only windows users ... :-( Thanx Seb
When trying to use WebDav from a windows (2000 or XP) client, using the built-in webfolders function, i can create a folder and even rename it, but when trying to copy files in it , it toook aaaaaaaaages , such amount of time that, at first, i thought the process was stuck. I am doing Apache Proxying ... I tryied with Cadaver under linux and it worked straight away !! (could copy mutltiple files using mput)
Web Folders in Windoze are broken beyond repair. If you're stuck on Windoze you might want to try an add-on product such as WebDrive. jens
Hmmm.... works for me (W2K with all SP's).... On Wednesday, January 28, 2004, at 07:49 AM, Jens Vagelpohl wrote:
When trying to use WebDav from a windows (2000 or XP) client, using the built-in webfolders function, i can create a folder and even rename it, but when trying to copy files in it , it toook aaaaaaaaages , such amount of time that, at first, i thought the process was stuck. I am doing Apache Proxying ... I tryied with Cadaver under linux and it worked straight away !! (could copy mutltiple files using mput)
Web Folders in Windoze are broken beyond repair. If you're stuck on Windoze you might want to try an add-on product such as WebDrive.
jens
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
----- Original Message ----- From: "Jens Vagelpohl" <jens@zope.com> To: "Sebastien Pastor" <spastor@center.com> Cc: <zope@zope.org> Sent: Wednesday, January 28, 2004 7:49 AM Subject: Re: [Zope] webdav and windows : copying a file hang
When trying to use WebDav from a windows (2000 or XP) client, using the built-in webfolders function, i can create a folder and even rename it, but when trying to copy files in it , it toook aaaaaaaaages , such amount of time that, at first, i thought the process was stuck. I am doing Apache Proxying ... I tryied with Cadaver under linux and it worked straight away !! (could copy mutltiple files using mput)
Web Folders in Windoze are broken beyond repair. If you're stuck on Windoze you might want to try an add-on product such as WebDrive.
jens
Now,now jens, "broken" implies "worked at one time" ;) bobb
Bloody wind0ze ... cheers anyway ! i ll look @ this webdrive thing. Seb Bobb wrote:
----- Original Message ----- From: "Jens Vagelpohl" <jens@zope.com> To: "Sebastien Pastor" <spastor@center.com> Cc: <zope@zope.org> Sent: Wednesday, January 28, 2004 7:49 AM Subject: Re: [Zope] webdav and windows : copying a file hang
When trying to use WebDav from a windows (2000 or XP) client, using the built-in webfolders function, i can create a folder and even rename it, but when trying to copy files in it , it toook aaaaaaaaages , such amount of time that, at first, i thought the process was stuck. I am doing Apache Proxying ... I tryied with Cadaver under linux and it worked straight away !! (could copy mutltiple files using mput)
Web Folders in Windoze are broken beyond repair. If you're stuck on Windoze you might want to try an add-on product such as WebDrive.
jens
Now,now jens, "broken" implies "worked at one time" ;)
bobb
Is Zope's webdav interface documented anywhere, such that I could find the necessary methods that I must write to webdav-enable a custom class? The situation is such that my product will define a single Zope class. An application will use only one instance of this class, which will pull the strings of a relational database and a file system, rather than objects in the ZODB. The relational data dynamically defines the navigational structure of the documents stored on disk. Thus, the webdav behaviors that my class automatically inherits will not work for me, BUT I assume that if I override Zope's default webdav methods I can provide similar functionality. I essentially need to know the webdav interface, i.e. what methods Zope calls to list folder contents, retrieve a file, lock a file, etc, etc. I would be grateful even if someone would just point me to the particular file(s) where this code is implemented in Zope...
You want to look in lib/python/webdav. The Resource and Collection classes implement the 'default' DAV behavior that most objects inherit through either SimpleItem or ObjectManager. hope this helps, Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com
participants (7)
-
Andreas Jung -
Bobb -
Brian Lloyd -
Jens Vagelpohl -
Marc Lindahl -
nwingfield@che-llp.com -
Sebastien Pastor