scottwernervt / cloudstorage

Unified cloud storage API for storage services.
http://cloudstorage.readthedocs.io/en/latest/
MIT License
93 stars 27 forks source link

OwnCloudDriver: Support for ownCloud & Nextcloud #86

Open scy opened 2 years ago

scy commented 2 years ago

This is using pyocclient to implement a driver for ownCloud & Nextcloud.

As both of these systems rather use file/directory semantics instead of container/blob ones, the driver behaves somewhat similar to LocalDriver: A container can be any (sub)directory (including "" for the top-level directory), a blob is a file. Uploading blobs with slashes in their name will cause the respective parent directories to be created. Also, some features (e.g. ACLs and CDN URLs) are not supported.

Multiple ways of access are supported:

The code is basically working, but not yet complete. Open tasks:

If you have any comments, suggestions or criticism, let me know :)