Skip to content

dav_endpoint_version not detected properly on ownCloud 10.8.0 #273

@cs-1

Description

@cs-1

Hi all,

I'm trying to drop a file to a public, password protected share:

oc = owncloud.Client.from_public_link(url, folder_password=password)
oc.drop_file(file)

When debugging I can see that the path accessed is /public.php/webdav... which is incorrect for OC 10.8.0. Looking at the code I can see that there's a parameter dav_endpoint_version which should influence the path that is used. However, using oc = owncloud.Client.from_public_link(url, folder_password=password, dav_endpoint_version=1) doesn't do anything useful. Is this a bug or am I doing something wrong? Can you give me a hint? Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions