could i connect to an https:// webdav server?
i try with protocol 1 and port 80 or 443 and nothing connect.
There is an error in _get_respond().
@@ -1450,7 +1450,7 @@
$chunk_size = ($mod == $max_chunk_size ? $max_chunk_size : $matches - 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);
You have to fix only an exit condition..
A problem with sockets io
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.
Re: See also: PEAR::HTTP_WebDAV_Client
> The PEAR package HTTP_WebDAV_Client
> a PHP Stream Wrapper for accessing
> resources using the fopen() family of
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...
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
An open, cross-platform journaling program.
A scientific plotting package.