Projects / PHP Webdav Client Class

PHP Webdav Client Class

PHP Webdav Client Class is a nearly RFC 2518-conforming class which implements RFC 2518 methods (GET, PUT, MOVE, COPY, etc.) to modify resources on a Webdav server. It supports HTTP/1.0 and HTTP/1.1.

Tags
Licenses
Implementation

RSS Recent releases

  •  02 Sep 2004 19:39

Release Notes: This release changes _propfind_cData(), _delete_cData(), and _lock_cData to append cData from XML parser when multiple called from parser. The documentation has been updated.

  •  25 Aug 2004 15:25

Release Notes: In method _translate_uri(), all requests are now forced to UTF-8 encoding to conform to RFC 2518.

  •  18 Aug 2004 08:31

Release Notes: A problem handling collections containing an umlaut in the private method _translate_uri() was fixed. DocBlock documentation all over the code was finished. Some obsolete code segements were removed. New documentation was generated with phpDoc.

  •  16 Aug 2004 07:08

Release Notes: Some blocking problems in the _get_respond() method were corrected. The project was moved to another server.

  •  14 Dec 2003 16:31

Release Notes: A nasty body content destroying CRLF bug in the private methods _get_respond and _process_respond has been fixed.

RSS Recent comments

03 Mar 2011 12:44 masakre

could i connect to an https:// webdav server?
i try with protocol 1 and port 80 or 443 and nothing connect.

23 Jun 2010 13:33 briefkasten

There is an error in _get_respond().

@@ -1450,7 +1450,7 @@
$chunk_size = ($mod == $max_chunk_size ? $max_chunk_size : $matches[1] - strlen($buffer));
$buffer .= fread($this->_fp, $chunk_size);
$this->_error_log('mod: ' . $mod . ' chunk: ' . $chunk_size . ' total: ' . strlen($buffer));
- } while ($mod == $max_chunk_size);
+ } while (strlen($buffer) < $matches[1]);
}
break;

You have to fix only an exit condition..

30 Sep 2006 05:32 i2tsv

A problem with sockets io
Hi Chris,

Thank you for the nice class. We have chosen to use it over PEAR class because it provides more methods and it claims to be stable. However it turned out that there are some issues in the low level socket io code. We have fixed one issue and can post you the patch. But we are still having some issues in the _get_respond() functions which result in stuck connection. Please let me know if we can discuss this.

Thanks, Solon.

20 Dec 2003 06:26 chrisju

Re: See also: PEAR::HTTP_WebDAV_Client

> The PEAR package HTTP_WebDAV_Client
> provides
> a PHP Stream Wrapper for accessing
> WebDAV
> resources using the fopen() family of
> functions
>
> pear.php.net/package/H...

Yes your right. It's another approach. The abstraction level seems to much stronger as in this class. I was interested in all information you can get back from a webdav server...that's what this class does...

15 Dec 2003 05:25 hholzgra

See also: PEAR::HTTP_WebDAV_Client
The PEAR package HTTP_WebDAV_Client provides
a PHP Stream Wrapper for accessing WebDAV
resources using the fopen() family of functions

pear.php.net/package/H...

Screenshot

Project Spotlight

Points&Forces

Software tools for the documentation of architecture.

Screenshot

Project Spotlight

OpenBSD Network Shell

A Cisco-like command line interface for OpenBSD routers.