All Collections
Getting Started with WEkEO
Getting Started
How to use WEkEO Drive for sharing data or work between users?
How to use WEkEO Drive for sharing data or work between users?

This article will explain how to share your work with other users via our easy-to-use tool WEkEO Drive.

David Bina avatar
Written by David Bina
Updated over a week ago

Context


WEkEO Drive is a tool that can be used for data sharing.

Once a user is connected, the WEkEO Drive is available in the private dashboard.

This feature can be useful in order to share work performed between users.

Access WEkEO Drive


  1. Log in to your account (you can create one for free).

  2. Click on the "cloud" icon:

Access to your WEkEO Drive super easily.

It will open the WEkEO Drive homepage:

WEkEO Drive homepage to share files and access useful resources.

You can now explore the available resources in the WEkEO Drive:

Explore all available resources in your WEkEO Drive platform.

How to connect JupyterHub with WEkEO Drive?


The WebDAV protocol provides a framework for users to create, share, access and move documents on a server. This tool can be useful to store your work in the WEkEO Drive and to share your work between users.

In case you would like to move your files or folders, please follow these steps:

Step 1. First, you need to set up a password for your WEkEO Drive. By clicking your profile at the upper right (in WEkEO Drive), you can click on Settings (1):

Customize your WEkEO Drive settings.

Here, you can go to Security (2) and create a new password for the WEkEO Drive.

⚠️ We highly recommend to not use the same password as your WEkEO account.

Step 2. Create a new Jupyter notebook in your JupyterHub environment.

Step 3. Install the package webdavclient3 as follows: !pip install webdavclient3

This package provides an easy way to work with WebDAV servers.

Step 4. Then, the configuration of the client is needed. Required keys for configuring client connection with WebDAV server are webdav_hostname, webdav_login and webdav_password:

from webdav3.client import Client
options = {
'webdav_hostname': "<your_webdav_hostname>",
'webdav_login': "<your_username>",
'webdav_password': "<your_password>"
}

client = Client(options)
client.list()

To find the webdav_hostname, go on Files (1) and then Settings (2) at the bottom left.

You can copy the url from the WebDAV field (3):

Configure your WEkEO Drive via the webdav hostname accessible from the settings.

The webdav_login is the WEkEO username, and webdav_password is the password configured in the first step.

Step 5. After setting the client, you can upload your files/folders to the WEkEO Drive by just using the following command:

client.upload_sync(remote_path="<path_JupyterHub>", local_path="<path_WEkEO_Drive>")

Step 6. Following this, you will see a new file/folder in the WEkEO Drive. If you would like to share it, you can share the link through WEkEO Drive.

Step 7. In case you would like to perform the inverse approach, you can send data from the WEkEO Drive to the JupyterHub using the following command:

client.download_sync(remote_path="<path_JupyterHub>", local_path="<path_WEkEO_Drive>")

Mapping drive for moving large files


Mapping to a drive enables you to browse and move files stored on a WEkEO Drive (Nextcloud) server. This is beneficial if you would like to store large files or folders into the WEkEO Drive.

Using this feature requires network connectivity. If you want to store your files offline, use the Desktop Client to sync all files on your WEkEO Drive to one or more directories of your local hard drive.

💡WEkEO Pro Tip: to map a drive, please check the Nextcloud Manual.pdf or look at the manual in the WEkEO Drive. This would definitely help you uploading and extracting files in a much faster manner!

In order to understand whether you have created correctly the drive, you should see the drive of the WEkEO Drive in the network locations as shown below:

Configure WEkEO Drive on your computer.

What's next?


Feel free to check these articles that might be of interest for you:

We are user-driven and we implement users' suggestions, so feel free to contact us:

  • through a chat session available in the bottom right corner of the page

  • via e-mail to our support team (supportATwekeo.eu)

Did this answer your question?