[Owncloud] How to read a file when encryption is on? Was: What has happened with OC_FilesystemView?
Thomas Tanghus
thomas at tanghus.net
Sat May 5 23:35:46 UTC 2012
On Thursday 26 April 2012 12:34 Robin Appelman wrote:
> On Thursday 26 April 2012 11:58:14 Thomas Tanghus wrote:
> > This works OK:
> > $view = new OC_FilesystemView('/'.OC_User::getUser());
> > if($view->file_put_contents('/somefile.txt','some text')) {
> >
> > echo $view->file_get_contents('/somefile.txt');
> >
> > }
> >
> > But if I write the file in one request, and read it in another it doesn't
> > get decrypted.
>
> Strange, will look into it later
Did you figure out the cause of this?
--
Med venlig hilsen / Best Regards
Thomas Tanghus
More information about the Owncloud
mailing list