WebDAV with Basic Authentication
WebDAV with Basic Authentication
|
Basic Authentication is disabled by default in oCIS because of security considerations. In order to make the following Rclone commands work the oCIS administrator needs to enable Basic Authentication e.g. by setting the environment variable Please consider to use Rclone with OpenID Connect instead. |
For the usage of a WebDAV remote with Rclone see also the Rclone documentation
Configure the WebDAV Remote
First of all we need to set up our credentials and the WebDAV remote for Rclone. In this example we do this by setting environment variables. You might also set up a named remote or use command line options to achieve the same.
export RCLONE_WEBDAV_VENDOR=owncloud
export RCLONE_WEBDAV_URL=https://ocis.owncloud.test/remote.php/webdav/
export RCLONE_WEBDAV_USER=einstein
export RCLONE_WEBDAV_PASS=$(rclone obscure relativity)
|
Please note that |
We now can use Rclone to sync the local folder /tmp/test to /test in your oCIS home folder.