-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webdav public access (link shares) #12
Comments
FWIW, would be very interested to see solution here as well ;) |
Possible implementation: when constructing the client class, pass an extra optional arg that tells "public=True". When that value is set, switch the Webdav endpoint to "public.php/webdav". That would be the minimal implementation. To make it more user friendly, maybe the Client could have a static method Pull requests welcome ;-) |
I added a new method My first time doing something like this and I hope the PR is ok ¯_(ツ)_/¯ Please note that for using the |
@mrwunderbar666 thanks a lot, please check the PR review :-) |
I think this can be closed now, was fun helping out a bit. Also please add this to the readme (I forgot to push it)
|
The provided documentation snippet does not work for me. Without
Output:
With
Output:
|
Got the exact same problem: #264. It was a typo in the documentation and it should be |
OC 7 provides a new webdav interface for public links, mainly used by server to server sharing.
Would be good to be able to open such links with the API as well.
It's probably just a matter of passing the share token as uid and the password as password (if any) as basic auth arguments.
The text was updated successfully, but these errors were encountered: