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

Remote resource not found #136

Open
pizzadox9999 opened this issue Aug 18, 2023 · 0 comments
Open

Remote resource not found #136

pizzadox9999 opened this issue Aug 18, 2023 · 0 comments

Comments

@pizzadox9999
Copy link

Hi,
I'm trying with this minimal script to list a directory on netfiles.de.
If anybody has an idea it is welcome.
Best regards pizzadox9999

Stacktrace:
'''
Traceback (most recent call last):
File "/murex/users/tmxadmin/python/bin/nettest.py", line 31, in
print(client.list(remote_path=resource))
File "/murex/users/tmxadmin/python/lib/python3.10/site-packages/webdav3/client.py", line 67, in _wrapper
res = fn(self, *args, **kw)
File "/murex/users/tmxadmin/python/lib/python3.10/site-packages/webdav3/client.py", line 261, in list
raise RemoteResourceNotFound(directory_urn.path())
webdav3.exceptions.RemoteResourceNotFound: Remote resource: not found
'''

minimal script:
'''
import os
import webdav3.client

os.environ["https_proxy"] = #https proxy

url = "https://netfiles.de"
resource = #folderpath
user
password
client = webdav3.client.Client({
'webdav_hostname': url,
'webdav_login': user,
'webdav_password': password
})
print(client.list(remote_path=resource))
'''

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

1 participant