[owncloud-devel] Proper way to access a shared folder from an app.

Jos Poortvliet jos at opensuse.org
Fri May 1 11:51:40 GMT 2015


Let me ping too, then, did you figure it out?  Consider asking on IRC - AMD
improving the docs once you got the answer...

replying on phone. blame faulty text completion/correction for any rudeness!
On Apr 9, 2015 10:27 PM, "Ben Logan" <benlogan at wilkestmc.net> wrote:

> Hey folks,
>
> Just wanted to re-post this to see one more time if anyone had any
> guidance for me.
>
> Thanks!
> Ben
>
> On Mon, Mar 23, 2015 at 11:30 AM, Ben Logan <benlogan at wilkestmc.net>
> wrote:
>
>> Hello everyone,
>>
>> First of all I would like to thank all the developers and contributors
>> who have made ownCloud the awesome product it is today.  I have been
>> using ownCloud for a few years now and remain impressed with its
>> features and polish.
>>
>> I'm new to the list and hope that this is the appropriate place for my
>> question.  I have been through the ownCloud app development tutorial,
>> read through the general development guidelines and docs and have been
>> looking through the API docs (http://api.owncloud.org/index.html) as
>> well as the source code.  However, I am a little lost about how to
>> accomplish something that I'm sure is simple to do.  I am writing a
>> very simple app and my stumbling point right now is reading the
>> contents of a shared folder.  I just want to get a list of folders
>> under a shared folder.
>>
>> Looking through the source for the existing "files" app, it looks like
>> it makes use of \OC\Files\View, but I'm struggling with how to
>> properly make use of that, especially with a shared folder.  Can
>> someone point me in the right direction for this?  In the end, all my
>> app is going to do is get a list of folders under the shared folder
>> and then get a list of files under each of those sub-folders.  It'll
>> be very simplistic, I'm just a complete newbie when it comes to
>> ownCloud development.
>>
>> Thanks for any help!
>> Ben
>>
>> --
>> Ben Logan
>> Network Engineer
>> Wilkes Communications ™
>> 1400 River Street
>> Wilkesboro, NC 28697
>> (336) 973-9075 Office
>>
>> This email transmission contains information which may be confidential
>> and/or privileged. The information is intended to be for the use of
>> the individual or entity named on this transmission. If you are not
>> the intended recipient, be aware that any disclosure, copying,
>> distribution or use of the contents of this email information is
>> prohibited. If you have received this email in error, please notify
>> the sender to arrange for retrieval of the original documents. Thank
>> you.
>>
>
>
>
> --
>
> Ben Logan
>
> Network Engineer
>
> Wilkes C*ommunications* ™
>
> 1400 River Street
>
> Wilkesboro, NC 28697
>
> (336) 973-9075 Office
>
> (336) 452-8072 Mobile
>
> (336) 973-8585 Fax
>
>
>
> This email transmission contains information which may be confidential
> and/or privileged. The information is intended to be for the use of the
> individual or entity named on this transmission. If you are not the
> intended recipient, be aware that any disclosure, copying, distribution or
> use of the contents of this email information is prohibited. If you have
> received this email in error, please notify the sender to arrange for
> retrieval of the original documents. Thank you.
>
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20150501/6c551da2/attachment.html>


More information about the Devel mailing list