Skip to content
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

Trying to copy or move (rename) files results in 403 with "Paths cannot be empty!" message #18

Open
eblis opened this issue Mar 20, 2024 · 2 comments

Comments

@eblis
Copy link
Contributor

eblis commented Mar 20, 2024

I'm trying to rename a file with aiodav library and I'm getting a 403 error with my WebDAV server.

I'm not sure if the WebDAV implementation is to blame or the library, but after getting past #17 I can see that the response from the server is "Paths cannot be empty".

I'm calling it like this

client.move("Some/Old/Path.txt", "Some/Old/Path_new.txt")
@jorgeajimenezl
Copy link
Owner

Thanks for your colaboration.

Hi @eblis, sorry for late response and for this in case. I'll not able to fix this for a while, I'm very busy right now. If you have time and you know how to do it, you can give me a hand with this, it will be awesome

@eblis
Copy link
Contributor Author

eblis commented Jun 26, 2024

Hi,

Turns out the problem is in our WebDAV server implementation, it doesn't work if you specify the port in the copy URL, you have to use an URL without the port (so https://example.com:443 but without :443)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants