[owncloud-devel] External Storages

Pierre Jochem pierrejochem at msn.com
Fri Dec 12 09:35:12 GMT 2014

Hi Vincent,

thank you for your fast reply and time, I will check your links and I think
that will help me a bit :-)



-----Ursprüngliche Nachricht-----
Von: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] Im
Auftrag von Vincent Petry
Gesendet: Freitag, 12. Dezember 2014 10:10
An: List for Developers of ownCloud
Betreff: Re: [owncloud-devel] External Storages

Hello Pierre,

Have a look at how the files_external app does it, for example look at

Basically you need to provide an implementation of the "Storage"
interface. Best is having it based on "\OC\Files\Storage\Common".

Then you register the backend from your app with a call to

Note: this might be improved a bit in OC 8. I realize these APIs aren't even
public (public APIs start with \OCP).
But that should do for now.

Another example here for iRODS: https://github.com/owncloud/files_irods

Hope this helps.



On 12/12/2014 08:39 AM, Pierre Jochem wrote:
> Dear Owncloud Developer Team,
> I want to create own external storages but due to missing or unknown
documentation it is hard to figure out what does the class needs to populate
the file area. I'm really sure you use DI for the magic and a small class
overview would be awesome and could speed up my development which I will
share with everybody when I'm done. I will write a documentation for this as
> Thank you in advance
> Cheers
> Pierre
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

More information about the Devel mailing list