Data Transfer/WebDAV: Difference between revisions
H Schumacher (talk | contribs) m (Rename chapter) |
H Schumacher (talk | contribs) m (Removed detailed WebDAV instructions, linked to Rclone page instead) |
||
Line 1: | Line 1: | ||
__FORCETOC__ |
__FORCETOC__ |
||
WebDAV is a network protocol used for data transfer. It is based on http and offers a faster and more robust connection than [[Data_Transfer/SFTP|sftp]]. The suitability for permanent connections depends highly on the used client. We advise the Rclone client. |
WebDAV is a network protocol used for data transfer. It is based on http and offers a faster and more robust connection than [[Data_Transfer/SFTP|sftp]]. The suitability for permanent connections depends highly on the used client. We advise the Rclone client. Instructions are given at the [[Data_Transfer/Rclone|Rclone page]]. See [https://rclone.org/webdav/ rclone webdav config docs] for more details. |
||
== Usage == |
== Usage == |
||
Line 6: | Line 6: | ||
=== Windows === |
=== Windows === |
||
It is recommended to use the tool [[Data_Transfer/Rclone | Rclone]] as you can't work with files greater than 4 GiB or mount more than 16 TB overall if you are using WebDAV via Windows Explorer. If you want to set up the connection via Windows Explorer nevertheless, you can follow the instructions for establishing a permanent connection with [[SDS@hd/Access/SMB|smb]]. Replace the smb network path with the WebDAV URL and use your regular username of the service that you want to connect to. |
|||
=== MacOS & Linux |
=== MacOS & Linux === |
||
It is recommended to follow the instructions for setting up the tool [[Data_Transfer/Rclone | Rclone]] with the WebDAV protocol. |
|||
To configure a WebDAV remote for a specific service, you need the following information: |
|||
* Url |
|||
* Username |
|||
* ''ServicePassword'' |
|||
'''Instructions''' |
|||
Execute: |
|||
<pre>rclone config |
|||
</pre> |
|||
This will guide you through an interactive setup process. Afterwards, you should have a look at [[Data_Transfer/Rclone#Usage_Rclone|rclone usage]] and [[Data_Transfer/Rclone#Usage_Rclone_Mount|rclone mount]]. The needed <code><client-name></code> is the name that you choose in your configuration beneath. |
|||
<pre>No remotes found, make a new one? |
|||
n) New remote |
|||
s) Set configuration password |
|||
q) Quit config |
|||
n/s/q> n |
|||
name> `<client-name>` |
|||
Type of storage to configure. |
|||
Choose a number from below, or type in your own value |
|||
[snip] |
|||
XX / WebDAV |
|||
\ "webdav" |
|||
[snip] |
|||
Storage> webdav |
|||
URL of http host to connect to |
|||
E.g. https://example.com |
|||
Enter a value |
|||
url> `<url>` |
|||
Name of the WebDAV site/service/software you are using |
|||
Choose a number from below, or type in your own value |
|||
1 / Fastmail Files |
|||
\ (fastmail) |
|||
2 / Nextcloud |
|||
\ (nextcloud) |
|||
3 / Owncloud |
|||
\ (owncloud) |
|||
4 / Sharepoint Online, authenticated by Microsoft account |
|||
\ (sharepoint) |
|||
5 / Sharepoint with NTLM authentication, usually self-hosted or on-premises |
|||
\ (sharepoint-ntlm) |
|||
6 / Other site/service or software |
|||
\ (other) |
|||
vendor> other |
|||
User name |
|||
user> `<username>` |
|||
Password. |
|||
y) Yes type in my own password |
|||
g) Generate random password |
|||
n) No leave this optional password blank |
|||
y/g/n> y |
|||
Enter the password: |
|||
password: <enter *ServicePassword*> |
|||
Confirm the password: |
|||
password: <enter *ServicePassword*> |
|||
Bearer token instead of user/pass (e.g. a Macaroon) |
|||
bearer_token> |
|||
Edit advanced config? |
|||
y) Yes |
|||
n) No (default) |
|||
y/n> n |
|||
Remote config |
|||
-------------------- |
|||
[`<client-name>`] |
|||
type = webdav |
|||
url = `<url>` |
|||
vendor = other |
|||
user = `<username>` |
|||
pass = *** ENCRYPTED *** |
|||
bearer_token = |
|||
-------------------- |
|||
y) Yes this is OK |
|||
e) Edit this remote |
|||
d) Delete this remote |
|||
y/e/d> y |
|||
After this, you can exit the rclone config program.</pre> |
|||
Source and destination paths are specified by the name you gave the storage system in the config file (<code><client-name></code>), then the subpath (e.g. "<code><client-name></code>:folderX" to look at folderX on the remote system). |
Latest revision as of 02:03, 22 March 2025
WebDAV is a network protocol used for data transfer. It is based on http and offers a faster and more robust connection than sftp. The suitability for permanent connections depends highly on the used client. We advise the Rclone client. Instructions are given at the Rclone page. See rclone webdav config docs for more details.
Usage
Windows
It is recommended to use the tool Rclone as you can't work with files greater than 4 GiB or mount more than 16 TB overall if you are using WebDAV via Windows Explorer. If you want to set up the connection via Windows Explorer nevertheless, you can follow the instructions for establishing a permanent connection with smb. Replace the smb network path with the WebDAV URL and use your regular username of the service that you want to connect to.
MacOS & Linux
It is recommended to follow the instructions for setting up the tool Rclone with the WebDAV protocol.