@ -131,6 +131,9 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
switch($mode) {
case 'r':
case 'rb':
if(!$this->file_exists($path)) {
return false;
}
//straight up curl instead of sabredav here, sabredav put's the entire get result in memory
$curl = curl_init();
$fp = fopen('php://temp', 'r+');
@ -8,7 +8,7 @@ return array(
'root'=>'/test',
),
'webdav'=>array(
'run'=>true,
'run'=>false,
'host'=>'localhost',
'user'=>'test',
'password'=>'test',
@ -26,11 +26,11 @@ return array(
'user'=>'test:tester',
'token'=>'testing',
'host'=>'ubuntu.local:8080/auth',
'host'=>'localhost.local:8080/auth',
'root'=>'/',
'smb'=>array(