Replies: 2 comments 14 replies
-
Beta Was this translation helpful? Give feedback.
8 replies
-
这个好像还是不支持对吧? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
作者新年快乐。
OneDrive商业版本身不支持目前通行的WebDAV协议,但它确实有比较特殊的WebDAV功能,目前只有rclone能比较完美的支持它。以我的E5 OneDrive登录后首页的地址为例:
则其WebDAV URL为:
观察其特点可发现,将末尾的
/_layouts/15/onedrive.aspx
替换为/Documents/
就可以了。末尾/Documents/
即为OneDrive商业版根目录,也可在其后继续添加子目录。在rclone里面配置的时候,选择储存类型为WebDAV -> 输入上述WebDAV URL -> 选择vendor为Sharepoint Online, authenticated by Microsoft account
,直接输入OneDrive商业版账户密码即可配置成功。优点在于直接使用账号密码登录永久有效,直接绕过API配置、区域选择等参数,不必担心token过期。rclone WebDAV储存协议的源码在这个地方:/backend/webdav,alist同为用Go写的程序,我猜测移植过来会更容易一些。所以还请作者考虑一下,非常感谢。
Beta Was this translation helpful? Give feedback.
All reactions