Synopsis

An implementation of a WebDAV API of the Yandex.Disk cloud storage service and stream wrapper class to work with users Disks via filesystem functions.

The module integrates your Drupal site with Yandex.Disk storage service. Other modules and site administrators or even usual users may use uri like the following in place of any paths after authentication with their Yandex accounts:

yandexdisk://yandex_username/path_to_the_file_or_directory

Requirements

Another module must authenticate site users or at least a maintenance account (admin) with their Yandex.Disk accounts.

In Drupal 8 this is achieved by the module:

In Drupal 7 you can use one of the following modules or write your own one for this purpose:

Limitations

Current implementation of the module (specifically the StreamWrapper) does not allow to use Yandex.Disk as a default site storage (instead of public/private or another). This is because of the username part in the uri.

Dependencies

Your Yandex client application at https://oauth.yandex.com must be configured to use a
scope/permission 'Application access to Yandex.Disk' from 'Yandex.Disk WebDAV API'
section.

P.S.

If you still don't have a Yandex.Disk account follow this link: https://disk.yandex.ua/invite/?hash=MJBMKKVH, this way you'll get an extra 1GB of storage space ;-)

Project information

Releases