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

upload_sync did not work correctly #125

Open
copurxia opened this issue Aug 17, 2022 · 1 comment
Open

upload_sync did not work correctly #125

copurxia opened this issue Aug 17, 2022 · 1 comment

Comments

@copurxia
Copy link

If the folder contains a folder, upload_sync will delete the path on the remote server and indicate that the path does not exist, while download_sync works normally

@jjedele
Copy link

jjedele commented Jun 1, 2023

Same problem here.

  File "/usr/local/lib/python3.9/site-packages/webdav3/client.py", line 559, in upload
    self.upload_directory(local_path=local_path, remote_path=remote_path, progress=progress,
  File "/usr/local/lib/python3.9/site-packages/webdav3/client.py", line 590, in upload_directory
    self.clean(urn.path())
  File "/usr/local/lib/python3.9/site-packages/webdav3/client.py", line 67, in _wrapper
    res = fn(self, *args, **kw)
  File "/usr/local/lib/python3.9/site-packages/webdav3/client.py", line 741, in clean
    self.execute_request(action='clean', path=urn.quote())
  File "/usr/local/lib/python3.9/site-packages/webdav3/client.py", line 226, in execute_request
    raise RemoteResourceNotFound(path=path)
webdav3.exceptions.RemoteResourceNotFound: Remote resource: /planner-v2/dist/assets/ not found

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