generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 220
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
[Bug]: 坚果云的webdav会分页,导致获取到的文件数不全,每次重新下载一部分 #284
Labels
bug
Something isn't working
Comments
2 tasks
调研了一圈,这问题 joplin 也遇到了: laurent22/joplin#4294 找了一圈,标准 webdav 似乎没有分页之类的逻辑,可能实现比较困难。 |
This was referenced Jan 1, 2024
Closed
Closed
Closed
发现把 发送到服务器的Depth header 选 支持depth='infinity 就OK了 参考: |
不对。infinity应该解决不了分页问题的 |
我试试 |
@islent 确认了是不行的。改回 depth=1 哈。目前只支持一层文件夹内有 749 或以下的文件。超过了会有出错提示。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
文件少的时候使用正常,文件多了之后就出问题。测试过1000个文件左右,每次同步都会重新上传100多个文件,即使没有修改文件直接进行同步也是如此。我开了坚果云的会员,是可以支持到半个小时1500次请求的。请求够次数之后是出现报错,无法同步,等半个小时之后又可以重新同步,跟这个分页机制是不太一样的。
从导出的同步计划里看,每次同步都会有一部分文件是存在在云端的,但是同步计划里显示云端不存在,因此又重新上传。
坚果云的webdav看官方说明说限制读取文件数,会分页,每次最多一页只能读750个文件,估计是这个的影响,剩下的文件没有读到,本地又重新上传一份。坚果云官网的原话是这样的:
经测试,更换teracloud使用webdav就没有这个问题。但是试了很多感觉还是坚果云速度最快最稳定,望作者修复,感谢!
What OS are you using?
Windows
What remote cloud services are you using?
webdav
Version of the plugin
0.3.25
Version of Obsidian
1.1.9
Using password or not
Ensure no sensitive information
The text was updated successfully, but these errors were encountered: