WebDAV¶
Mount a WebDAV server — a NAS, Nextcloud or any other WebDAV server — on Linux with the RaiDrive CLI. Enter the username and password when prompted, or pass them as options.
To get the account, keys or IDs this needs, see Before you begin in the WebDAV guide for the Windows app.
raidrivecli add webdav <http|https>://[username@]<host>[:port][/path][?query]
If you add storage with only the options shown above, you will be prompted to enter a username and password.
raidrivecli add webdav <address>
Username: <username>
Password: ********
Alternatively, a username or password can be specified as options.
raidrivecli add webdav <address> -u <username>
raidrivecli add webdav <address> -u <username> -p [password]
Warning
Shell commands are logged in history. If possible, we recommend not specifying the -p or --password option with a value.
If a mount directory is not specified, it will be mounted to a directory such as /mnt/webdav under /mnt. To specify the mount directory, use the --mount-path option.
raidrivecli add webdav https://192.168.200.80/path \
--mount-path /myservices/webdav
Additional options¶
--alt-address <url> alternative url
--tls <ssl30|tls10|tls11|tls12|tls13> tls version
--http-timeout <seconds> connection timeout seconds [default: 100]