-
Notifications
You must be signed in to change notification settings - Fork 88
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
Can list() files, but cannot download. "Remote resource not found" #145
Comments
I had the same problem. In my case, it was because I had already indicated part of the path in the webdav_host_address. With this information, the response of the WebDAV server could not be parsed correctly. Since I had no influence on the specification of the webdav_host_address, I helped myself by using prefix = urlparse(webdav_host_address).path (module urllib.parse), removing the prefix from the webdav_host_address and prefixing it again later to get and put calls. |
I have the same problem. Parsing the path did not help. Any other solutions?? from webdav3.client import Client options = { client = Client(options) check = client.check("Test_1/Textdok_1.txt") RemoteResourceNotFound Traceback (most recent call last) in <cell line: 3>() 3 frames /usr/local/lib/python3.10/dist-packages/webdav3/client.py in download(self, remote_path, local_path, progress, progress_args) /usr/local/lib/python3.10/dist-packages/webdav3/client.py in _wrapper(self, *args, **kw) /usr/local/lib/python3.10/dist-packages/webdav3/client.py in is_dir(self, remote_path) /usr/local/lib/python3.10/dist-packages/webdav3/client.py in execute_request(self, action, path, data, headers_ext) RemoteResourceNotFound: Remote resource: /hcwebdav/Home/Test_1/Textdok_1.txt not found |
python 3.11
webdav3 3.14.5
I can connect to the WebDAV server (NextCloud) and list the files as follows:
But when I try to download 'model.bin', I get the following error
The text was updated successfully, but these errors were encountered: