Not working with owncloud
Hi,
I've tried your Implementation with owncloud and it's not working.
var client = new WebDAVClient.Client(new NetworkCredential { UserName = "myUserName", Password = "MyPw" });
var baseUrl = "https://myUrl/remote.php/webdav/";
client.Server = baseUrl;
client.BasePath = "/";
var files = await client.List();
Then I've tried this GitHub Repo
https://github.com/DecaTec/Portable-WebDAV-Library
with the same URLs I've tried with your Implementation and there it works fine.
What does "it's not working" mean? I also tried to access ownCloud but my test program just terminated without any error or exception.
I could solve the issue by editing Server and BasePath properties:
client.Server = "https://myUrl";
client.BasePath = "remote.php/dav/files/username/";
Hi LukeOwnCloud, It is not entirely clear that the /remote.php/webdav part should go into the BasePath rather that the endpoint. Thanks anyway for the solution, I was almost getting there through trials and errors :D
L.