Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Configuring a WebDAV client for confluence

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.

2 answers

1 accepted

1 vote
Answer accepted

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.

Slava Atlassian Team Aug 25, 2019

Hi Daniel, glad it worked out for you!

Cheers,

Sveatoslav

0 votes
Slava Atlassian Team Aug 20, 2019

 

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

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?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you