WebDav Confluence not working on Windows 10
Asked by Jonathan Symons:

Hi,

Looking for some advice on how to get WebDav working. My end goal is to be able to easily upload documents (pdfs, images, etc) from Dropbox onto the wiki. So if there is another workaround that would get this to work, please let me know. Current thinking is that I could use WebDav to import the dropbox files stored locally on my computer.

I'm using the "Connect to a Web site that you can use to store your documents and pictures." button under Map Network Drive.

https://\<company name\>.atlassian.net/wiki/plugins/servlet/confluence/default

I've also tried a number of variations of this address, encase I was doing something wrong by mistake. Some of the main things I tried:

* @ssl after and before the /wiki.
* https://\<company name\>.atlassian.net/confluence/plugins/servlet/confluence/default
* https://\<company name\>.atlassian.net/wiki/confluence/plugins/servlet/confluence/default

I keep getting the message: "The folder you entered does not appear to be valid. Please choose another."

I've turned BasicAuthLevel to 2 in regedit, as suggested in <https://confluence.atlassian.com/confkb/in-microsoft-windows-the-webdav-drive-share-is-not-found-200705139.html>

Running windows 10.

If I'm missing any info, please let me know.

I also found this article, which makes it look like Confluence doesn't support WebDAV any more, but it's not on any the main WebDAV Confluence articles. Can anyone confirm if it's still working? <https://confluence.atlassian.com/cloudkb/how-to-upload-files-using-cyberduck-to-atlassian-cloud-webdav-691012063.html>

Cheers for your help,

Jon


Answers:
author: Ben Romberg - codefortynine
body: Update: We have since discontinued our app since there was very limited interest from customers.

We've just released **WebDAV for Confluence** (removed outdated link), allowing you once again to access Confluence attachments using WebDAV from Windows, MacOS and Linux.

Let me know if you have any feedback since the app is still quite new.

comments: author: antony terrence
body: That link is broken.


author: Ben Romberg - codefortynine
body: Hello Antony,

Unfortunately we had to sunset the app in the meantime since we had very limited interest from customers. I have updated my post above to reflect this.


author: antony terrence
body: [@Ben Romberg - codefortynine](/t5/user/viewprofilepage/user-id/664921) I think the WebDav feature is a good one. Unfortunately, I am facing some problems when writing to the mapped WebDav directory on my Windows 10 PC.


author: Suren Raj
body: Hi Jonathan,

Due to changes to our Atlassian Cloud infrastructure, \[we've removed the ability to browse and manage Confluence Cloud pages and files using a WebDAV client\|<https://confluence.atlassian.com/confcloud/blog/2017/06/deprecating-webdav-in-confluence-cloud>\].

<br />

You can try to do it using REST as indicated in our \[Confluence Cloud REST API documentation\|<https://developer.atlassian.com/cloud/confluence/rest/#api-content-post>\]:

*Edit:*   
h3. **Create attachment**

```
POST /wiki/rest/api/content/{id}/child/attachment
```

Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing attachment, use [Create or update attachments](https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-child-attachment-put]).

Note, you must set a _X-Atlassian-Token: nocheck_ header on the request for this method, otherwise it will be blocked. This protects against XSRF attacks, which is necessary as this method accepts multipart/form-data.

The media type 'multipart/form-data' is defined in [RFC 1867](https://www.ietf.org/rfc/rfc1867.txt). Most client libraries have classes that make it easier to implement multipart posts, like the [MultiPartEntity](http://hc.apache.org/httpcomponents-client-ga/httpmime/apidocs/org/apache/http/entity/mime/MultipartEntity.html) Java class provided by Apache HTTP Components.

Example: This curl command attaches a file ('example.txt') to a container (id='123') with a comment and minorEdits=true.

Hope this helps you to accomplish your requirement.


Tags: cloud

confluence-app

webdav