rclone server WebDAV works by implementing a basic WebDAV server to host and regulate the remote over the HTTP by using the WebDAV protocol. This whole process can be viewed and analysed through a WebDAV client or by using a web browser. You can even create a remote type of WebDAV to write and read about it.
rclone WebDAV: The Web Server and its Integrations
So basically rclone is an HTTP web tool which works just like rsynce but with cloud and all other online storage services. IT usually works as a command line program that syncs files and their directories between different cloud services. So here we have some options for cloud storage servers which used rclone WebDAV integrity:
- Google Drive storage
- Amazon S3
- Microsoft Azure Blob Storage
- Rackspace Cloud Files
HOW TO CONFIGURE THIS SETUP
First of all, you will need a URL with a username and password to configure the WebDAV remote. Then if you have an idea about the kind of system which you are connecting to then rclone can enable its extra features
rClone WebDAV options
This is what that controls the eTag header. If this flag is not around, then the eTag will work on the ModTime and Size of the object. If this eTag is set to auto then rclone will only select the first supported hash from the backend. Users can also use named hash much like “MD5” or “SHA-1”.
Plain WebDAV does not support modified times. However when used with Owncloud or Nextcloud rclone will support modified times.
Likewise plain WebDAV does not support hashes, however when used with Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes. Depending on the exact version of Owncloud or Nextcloud hashes may appear on all objects, or only on objects which had a hash uploaded with them.
The Server options for rClone WebDAV connections
Use –addr specifically for the IP address. It makes it clear to understand that which port the server should listen on, eg –addr 184.108.40.206:8000 or — addr: 8080 to listen to all IPs. Usually, it only works with the local host, but you can use port :0 as well to let the OS choose an available port.
Authenticating rClone and WebDAV
By default, the authentication lets the server to serve files without needing to log in. Users can either use an htpasswd file that can be used by a lot of users, or users set a single username and password by using the –user and –pass flags.
For eg, –htpasswd /path/to/htpasswd lets users to put an htpasswd file. This protocol is in standard apache format and supports SHA1, MD5, and BCrypt for basic authentication. Usually, BCrypt is more preferable for the authentication process. and then users can log in into their accounts.
So by using these modules and getting users can configure the rclone to WebDAV for necessitating all the benefits given to it.
If you are in the market to connect your WebDAV enabled devices to box.com or DropBox, we have created a gateway server that allows users to seamlessly connect. One can connect without the need for a WebDAV server, or even API credentials. After you register with WebDAV.io, you will be given access to a DAV url which will automatically port your files from our server to DropBox or Box with our API. This saves you a TON of time because you won’t need to spin up or maintain an rClone webDAV server, maintain API connections to box or DropBox, or deal with ongoing server costs associated with running your own custom server.
Soon we will have an article covering the android rClone settings and commands to help you get set up with your mobile device.
WebDAV with rClone and Nextcloud
The “rclone config” command will guide you on an interactive process in your terminal window which will help you connect rClone to Nextcloud as a vendor. Highlighted below is the section in the interactive mode which will guide you on vendor selection of Nextcloud.
Nextcloud rClone Modified Time and Hashes
rclone will support modified times with Nextcloud.
When used with Nextcloud, rclone will also support both SHA1 and MD5 encryption hashes.
Some versions on Nextcloud will show hashes on all objects when running in rclone. Alternatively, other versions will only have hashes on objects which had a hash uploaded with them.
Options for WebDAV with rClone and Nextcloud
You can set the vendor for rclone with the “–webdav-url” option. The option looks like this:
- Config: vendor
- Environment Variable: RCLONE_WEBDAV_VENDOR
- Type: string
- Default: “”
- Example usage: “nextcloud” for Nextcloud
Configuring Nextcloud with rclone
On the bottom right of the page, there is a settings cog. Clicking on this will provide the URL for WebDAV connections which are required by rclone.
It will appear similar to “https://nexcloud.com/remote.php/webdav/”
Note: Nextcloud does not support rcat streaming.
rclone subtopics Coming Soon:
- rclone WebDAV with Owncloud– Get your rClone Owncloud environment working swimmingly when you understand the proper setup.
- rclone WebDAV with Nextcloud
- rclone WebDAV with put.io
- rclone WebDAV with Sharepoint – Offers rClone Sharepoint integrations and information on how to set up your rClone with webDAV and Sharepoint.
- rclone WebDAV with dCache
- rClone Onedrive – Learn how to set up rClone with OneDrive WebDAV servers for file system management needs.