Data Transfer/WebDAV: Difference between revisions

From bwHPC Wiki
Jump to navigation Jump to search
m (Rename chapter)
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. An introduction is given on the [[Data_Transfer/Rclone|Rclone page]]. See [https://rclone.org/webdav/ rclone webdav config docs] for more details.
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 ===


See the instructions for establishing a permanent connection with [[Data_Transfer/SMB|smb]]. Replace the smb network path with the webDAV url and use your regular [[Registration/Login/Username|username]] of the form xy_ab123.
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 (using Rclone) ===
=== 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>&lt;client-name&gt;</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&gt; n
name&gt; `&lt;client-name&gt;`

Type of storage to configure.
Choose a number from below, or type in your own value
[snip]
XX / WebDAV
\ &quot;webdav&quot;
[snip]
Storage&gt; webdav

URL of http host to connect to
E.g. https://example.com
Enter a value
url&gt; `&lt;url&gt;`

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&gt; other

User name
user&gt; `&lt;username&gt;`

Password.
y) Yes type in my own password
g) Generate random password
n) No leave this optional password blank
y/g/n&gt; y
Enter the password:
password: &lt;enter *ServicePassword*&gt;
Confirm the password:
password: &lt;enter *ServicePassword*&gt;

Bearer token instead of user/pass (e.g. a Macaroon)
bearer_token&gt;

Edit advanced config?
y) Yes
n) No (default)
y/n&gt; n

Remote config
--------------------
[`&lt;client-name&gt;`]
type = webdav
url = `&lt;url&gt;`
vendor = other
user = `&lt;username&gt;`
pass = *** ENCRYPTED ***
bearer_token =
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d&gt; 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>&lt;client-name&gt;</code>), then the subpath (e.g. &quot;<code>&lt;client-name&gt;</code>:folderX&quot; 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.