Unfortunately it seems this library is not compatible with Apache DAV. First thing I noticed while debugging this is the "Depth" header is not included. This header is required by the WebDAV standard and, if not included, Apache will not list directory contents. Secondly, also when listing directory contents, it seems that after receiving the XML response, the process of converting the entries into WebDAVFile instances is failing to correctly parse the response. I stopped trying to debug here, so there are probably additional compatibility problems. I'm assuming this library was specifically designed to interface with OwnCloud/NextCloud, but that is not mentioned in the documentation that I have noticed. If you don't intend to support other implementations of WebDAV, please say so in the Readme
Thanks for the info. I updated the readme to specify that it has only been tested with Nextcloud. I’ll take note of this compatibility issue for when I have more time to work on this.
Unfortunately it seems this library is not compatible with Apache DAV. First thing I noticed while debugging this is the "Depth" header is not included. This header is required by the WebDAV standard and, if not included, Apache will not list directory contents. Secondly, also when listing directory contents, it seems that after receiving the XML response, the process of converting the entries into WebDAVFile instances is failing to correctly parse the response. I stopped trying to debug here, so there are probably additional compatibility problems. I'm assuming this library was specifically designed to interface with OwnCloud/NextCloud, but that is not mentioned in the documentation that I have noticed. If you don't intend to support other implementations of WebDAV, please say so in the Readme