diff --git a/lib/connector/sabre/file.php b/lib/connector/sabre/file.php index e4dc8c9344560803effa199a3a9b0a18f37e8c20..4700dbf8b890d9bfbd4e816fb63f0eb0fae5421b 100644 --- a/lib/connector/sabre/file.php +++ b/lib/connector/sabre/file.php @@ -42,7 +42,7 @@ class OC_Connector_Sabre_File extends OC_Connector_Sabre_Node implements Sabre_D */ public function get() { - return OC_Filesystem::readfile($this->path); + return OC_Filesystem::fopen($this->path,'rb'); }