{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/15902","labels_url":"https://api.github.com/repos/owncloud/core/issues/15902/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/15902/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/15902/events","html_url":"https://github.com/owncloud/core/issues/15902","id":71503859,"number":15902,"title":"Unable to list files/folders using Http/WebDAV client for php","user":{"login":"conxdev","id":12148757,"avatar_url":"https://avatars.githubusercontent.com/u/12148757?v=3","gravatar_id":"","url":"https://api.github.com/users/conxdev","html_url":"https://github.com/conxdev","followers_url":"https://api.github.com/users/conxdev/followers","following_url":"https://api.github.com/users/conxdev/following{/other_user}","gists_url":"https://api.github.com/users/conxdev/gists{/gist_id}","starred_url":"https://api.github.com/users/conxdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conxdev/subscriptions","organizations_url":"https://api.github.com/users/conxdev/orgs","repos_url":"https://api.github.com/users/conxdev/repos","events_url":"https://api.github.com/users/conxdev/events{/privacy}","received_events_url":"https://api.github.com/users/conxdev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/needs%20info","name":"needs info","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-28T06:56:58Z","updated_at":"2015-08-21T09:49:05Z","closed_at":"2015-08-21T09:49:05Z","body":"Although the PROPFIND request returns the correct xml from the terminal we are unable to access any files/folders using the PROPFIND verb from the WebDAV client by sabre. (http://sabre.io/dav/davclient/)\r\n\r\nHave also tried it using guzzle, but getting the same response object.\r\n\r\nCode\r\n\r\n        $settings = array(\r\n            'baseUri' => $url,\r\n            'userName' => $username,\r\n            'password' => $password,\r\n            );\r\n\r\n        $client = new SabreClient($settings);\r\n        $response = $client->propfind($url, array(\r\n            '{DAV:}displayname',\r\n            '{DAV:}getcontentlength',\r\n            ));\r\n\r\nThe response is,\r\n\r\n    Array\r\n    (\r\n        [{http://owncloud.org/ns}id] => 00000055oc7kjmpoe4t8\r\n        [{http://owncloud.org/ns}permissions] => RDNVCK\r\n        [{http://owncloud.org/ns}size] => 2754651\r\n    )\r\n\r\nServer configuration:\r\nCentOS 6.6 (Final)\r\nnginx 1.6.2\r\nPHP 5.5.23\r\nownCloud version 8.0.2\r\n\r\nIf you need any more information, please leave a comment below. Thanks."}}