Hello, Community!
I'm trying to develop a WebDAV client for our confluence, but I'm geting a MissingSchema error. I'm not pretty sure about the URL, I'm following this article to help me develop the client.
Can anyone help me to determinate the URL I have to use to connect to our confluence? Is it the URL of my Space home or is it other?
What I want to do is to send files from my client to Confluence and viceversa, but I cannot use other client or My networks drive in Microsoft.
Hello, Community!
I solved the error. I was using:
url = 'http://myurl/chup/plugins/servlet/confluence/default'
But that was a mistake, so I add the '/plugins/servlet/confluence/default' to the beginning of the root var. Also, my confluence has two folders named Global and Personal, finally the folder chup (the root path of my WebDAV Client) was inside the Global folder, so for now my vars are something like this:
url = 'my_url'
root = '/plugins/servlet/confluence/default/Global/chup/ChupiBox/Prueba2/'
Thanks for the help, @Slava
Have you all a good day.
Hi Daniel, glad it worked out for you!
Cheers,
Sveatoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniel,
The default URL is:
http://<confluence base URL>/plugins/servlet/confluence/default
For example if your Confluence URL is http://ourconfluence.sample.com/wiki you would enter:
http://ourconfluence.sample.com/wiki/plugins/servlet/confluence/default
For more details please see: https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html
Cheers,
Sveatoslav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sveatosav,
Using that URL when my client do client.list() the string (which would bring me a list with the nested files or directories) is empty, when it's not.
Here is my code, I'm using the webdav3 library, (I delete the rest of the URL because I'm not authorized to shared it):
from webdav3 import client
url = 'http://myurl/chup/plugins/servlet/confluence/default'
usr = 'soporte'
key = '123'
root = '/'
cliente = client.Client(({'webdav_hostname':url,'webdav_login':usr,'webdav_password':key,'webdav_root':root}))cliente.list()
Am I putting the URL properly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.