Some users set up services on Research Cloud that retrieve data from Research Drive or write to Research Drive.
In this case, it is desirable to make the access to Research Drive user-independent.
This can be achieved by using a "public" Research Drive link.
- The owner of the project folder on Research drive creates a public link following this tutorial.
- To implement the access, the public link itself and the password are required.
- Use a webdav-client of your service's programming environment. (For Python this may be webdavclient3)
- The required connection data map out as follows:
- "webdav_hostname": "
https://researchdrive.surfsara.nl/public.php/webdav/
" (this URL will vary if you are using your institute's Research Drive instance) - "webdav_login": the last section of the public link's URL (it is a "random" string)
- "webdav_password": the password that belongs to the generated public link
- "webdav_hostname": "
Replace the token "remote.php" in the Research Drive instance URL with "public.php".
With these credentials your code will be able to use Research Drive according to the rights that are given to the public link.
With these information use Webdav service to connect to the Research drive service, as described here.