aiodav icon indicating copy to clipboard operation
aiodav copied to clipboard

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

Open eblis opened this issue 11 months ago • 2 comments

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")

eblis avatar Mar 20 '24 13:03 eblis

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

jorgeajimenezl avatar Mar 27 '24 11:03 jorgeajimenezl

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)

eblis avatar Jun 26 '24 09:06 eblis