jorgeajimenezl / aiodav

Python Async WebDAV Client
MIT License
20 stars 8 forks source link

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

Open eblis opened 3 months ago

eblis commented 3 months ago

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 commented 3 months ago

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 commented 1 week ago

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)