linkleong / go-aliyundrive-webdav Goto Github PK
View Code? Open in Web Editor NEW阿里云盘(https://www.aliyundrive.com/) 的webdav协议开源实现
License: Apache License 2.0
阿里云盘(https://www.aliyundrive.com/) 的webdav协议开源实现
License: Apache License 2.0
Describe the bug
删除文件夹很慢,有时候删除后,被删除的文件夹会自动“恢复”,其实根本没有删除。
我是用RaiDriver挂载的。
Desktop (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
rclone 下载、删除都没问题,复制一个 10M 的文件 cp test /mnt/aliyun/
,出现 cp: failed to close '/mnt/aliyun/test': Input/output error
,rclone log 如下:
2022/02/10 11:54:19 DEBUG : /: Attr:
2022/02/10 11:54:19 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxr-x, err=<nil>
2022/02/10 11:54:19 DEBUG : /: Lookup: name="test"
2022/02/10 11:54:19 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2022/02/10 11:54:19 DEBUG : /: Lookup: name="test"
2022/02/10 11:54:19 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2022/02/10 11:54:19 DEBUG : /: Create: name="test"
2022/02/10 11:54:19 DEBUG : test: Open: flags=O_WRONLY|O_CREATE|O_EXCL|0x20000
2022/02/10 11:54:19 DEBUG : : Added virtual directory entry vAddFile: "test"
2022/02/10 11:54:19 DEBUG : test: >Open: fd=test (w), err=<nil>
2022/02/10 11:54:19 DEBUG : /: >Create: node=test, handle=&{test (w)}, err=<nil>
2022/02/10 11:54:19 DEBUG : test: Attr:
2022/02/10 11:54:19 DEBUG : test: >Attr: a=valid=1s ino=0 size=0 mode=-rw-rw-r--, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=0
2022/02/10 11:54:19 DEBUG : : Added virtual directory entry vAddFile: "test"
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : webdav root '': Target remote doesn't support streaming uploads, creating temporary local FS to spool file
2022/02/10 11:54:19 DEBUG : Creating backend with remote "/tmp/rclone-spool3825387201"
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=131072
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : Reset feature "copy"
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=262144
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=393216
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=524288
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=655360
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=786432
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=917504
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:19 DEBUG : &{test (w)}: Write: len=131072, offset=1048576
2022/02/10 11:54:19 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1179648
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1310720
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1441792
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1572864
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1703936
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1835008
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=1966080
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2097152
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2228224
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2359296
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2490368
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2621440
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2752512
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=2883584
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3014656
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3145728
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3276800
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3407872
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3538944
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3670016
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3801088
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=3932160
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4063232
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4194304
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4325376
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4456448
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4587520
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4718592
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4849664
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=4980736
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5111808
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5242880
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5373952
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5505024
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5636096
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5767168
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=5898240
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6029312
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6160384
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6291456
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6422528
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6553600
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6684672
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6815744
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=6946816
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7077888
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7208960
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7340032
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7471104
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7602176
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7733248
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7864320
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=7995392
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8126464
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8257536
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8388608
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8519680
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8650752
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8781824
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=8912896
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9043968
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9175040
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9306112
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9437184
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9568256
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9699328
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9830400
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=9961472
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=10092544
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=10223616
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Write: len=131072, offset=10354688
2022/02/10 11:54:20 DEBUG : &{test (w)}: >Write: written=131072, err=<nil>
2022/02/10 11:54:20 DEBUG : &{test (w)}: Flush:
2022/02/10 11:54:20 DEBUG : test: Sizes identical
2022/02/10 11:54:23 ERROR : test: Failed to copy: Not Found: 404 Not Found
2022/02/10 11:54:23 ERROR : test: WriteFileHandle.New Rcat failed: Not Found: 404 Not Found
2022/02/10 11:54:23 ERROR : test: WriteFileHandle.Flush error: Not Found: 404 Not Found
2022/02/10 11:54:23 DEBUG : &{test (w)}: >Flush: err=Not Found: 404 Not Found
2022/02/10 11:54:23 DEBUG : &{test (w)}: Release:
2022/02/10 11:54:23 DEBUG : test: WriteFileHandle.Release nothing to do
2022/02/10 11:54:23 DEBUG : &{test (w)}: >Release: err=<nil>
另外使用 macOS Finder 也有其他问题,这个有人提过了
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
最近一段时间才出现的这种情况
当使用davfs挂载本地web后一段时间会出现名为biden1的进程占用大量内存且占用100%的cpu
关闭对应进程并删除/usr/bin/biden1后,路径下还会生成相同文件并自动启动
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
这个程序可以安装在vps中吗
如果能安装 请问怎么操作
Mar 19 21:07:00 webdav-ali[3157]: Post "https://api.aliyundrive.com/token/refresh": dial tcp: lookup api.aliyundrive.com on 127.0.0.1:53: server misbehaving
Mar 19 21:07:00 webdav-ali[3157]: 刷新token失败
使用场景:在本地搭建了 DNS 服务器,刷新 token 时,DNS 没有启动,因此失败,此后一直没有自动刷新。DNS 上线后,手动重启可以正常使用。
可以预想到,一旦网络出现故障,token 刷新失败,就再也无法使用了。
在 SwiftBackup 用 webdav 登录时会先发送 HEAD /SwiftBackup 测试文件是否存在。
但文件不存在,不会返回 NotFound。导致 SwiftBackup 不会初始化文件。
另一个问题
refresh token 时,更新失败(例如断网时,执行下面的命令)也会更新 token 文件,导致 token 文件被清空
./go-aliyun-webdav -rt=path/to/token/file
已输refreshToken,还是提示没rt,1.0.3;1.0.4;
firefox,vivdia
java版的正常
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
新手咨询求助,用这个开了webdav后,怎么关闭呢。
开了这个后,是不是电脑就暴露在网络上了
Describe the bugA clear and concise description of what the bug is.
To ReproduceSteps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
发现根本不会用,因为生成的webdav服务器的地址是多少不知道,不会连接。
默认为/ 设置为/videos不起作用,再次访问仍然是根目录
安卓tv下使用kodi加载webdav部分视频播放失败,以及能播放的视频快进不了,因为已经刷回非go版本了所以暂时没办法帮忙测试pc版kodi是否是一样的情况。
希望作者能修复。
机器 centos8 用 Rclone 挂载 webdav,
超过3天左右吧,Rclone 显示copy 不了,然后重启webdav 使用新的token 则正常
Log 日志
12月 02 16:55:45 Centos systemd[1]: Started rclone.
12月 02 16:55:45 Centos bash[2351646]: XXXXXXX
12月 02 16:56:10 Centos bash[2351646]: RefreshToken Err=stat XXXXXXX: no such file or directory/
12月 02 16:56:10 Centos bash[2351646]: PROPFIND
12月 02 16:56:15 Centos bash[2351646]: /aaa.png
12月 02 16:56:15 Centos bash[2351646]: PUT
12月 02 16:56:16 Centos bash[2351646]: {"drive_id":"2328522","domain_id":"bj29","file_id":"61a88a30adb4aac423674655b74945ca0cfe8016","name":"aaa.png","type":"file","content_type":"application/oct-stream",">
12月 02 16:56:17 Centos bash[2351646]: /aaa.png
12月 02 16:56:17 Centos bash[2351646]: DELETE
12月 02 16:56:17 Centos bash[2351646]: ERROR : aaa.png: Failed to copy: Not Found: 404 Not Found
12月 02 16:56:17 Centos bash[2351646]: ERROR : aaa.png: vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: Not Found: 404 Not Found
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
感谢楼主的代码。我想问一下,阿里云盘挂载后怎么显示相册的那栏?可以选择么
refresh token 有实效限制
如何避免 ,多天不开机导致无法使用。
能不能加入用户密码 自动或者脚本 登录。
是把要上传的文件复制到执行目录,重命名为aaa.png再上传的吗?
还有建议支持保存日志的功能,而且这个项目好像也没用到协程
Describe the bug
test
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Linux 下面 df
命令,获取到的数据不对。
这个命令对应的 rclone 的请求包是:
PROPFIND / HTTP/1.1
Host: 127.0.0.1:8085
User-Agent: rclone/v1.56.0
Content-Length: 139
Authorization: Basic YWRtaW46MTIzNDU2
Depth: 0
Referer: http://127.0.0.1:8085/
Accept-Encoding: gzip
<?xml version="1.0" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:quota-available-bytes/>
<D:quota-used-bytes/>
</D:prop>
</D:propfind>
而返回的应包含quota信息,当前是404.。
<?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:"><D:response><D:href>/</D:href><D:propstat><D:prop><D:quota-available-bytes></D:quota-available-bytes><D:quota-used-bytes></D:quota-used-bytes></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/APP</D:href><D:propstat><D:prop><D:quota-available-bytes></D:quota-available-bytes><D:quota-used-bytes></D:quota-used-bytes></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/movie</D:href><D:propstat><D:prop><D:quota-available-bytes></D:quota-available-bytes><D:quota-used-bytes></D:quota-used-bytes></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/STARS-160.mp4</D:href><D:propstat><D:prop><D:quota-available-bytes></D:quota-available-bytes><D:quota-used-bytes></D:quota-used-bytes></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response><D:response><D:href>/base.apk</D:href><D:propstat><D:prop><D:quota-available-bytes></D:quota-available-bytes><D:quota-used-bytes></D:quota-used-bytes></D:prop><D:status>HTTP/1.1 404 Not Found</D:status></D:propstat></D:response></D:multistatus>
抓包 rs 版本返回的内容是这样:
<?xml version="1.0" encoding="utf-8"?><D:multistatus xmlns:D="DAV:"><D:response><D:href>/</D:href><D:propstat><D:prop><D:quota-available-bytes>1056194496917</D:quota-available-bytes><D:quota-used-bytes>60497000043</D:quota-used-bytes></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response>
</D:multistatus>
您好,我的路由器是openbsd7.0系统。
您是否可以提供一个编译好的openbsd版本包。
万分感激。
阿里云盘的Token应该用不了1个月,如何得知Token已经失效,用那种方法可以检测到?
有没有可能加个类似 -check 的检测变量,如果发现Token实现,便于其他操作
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
RaiDrive 版本:2021.12.31
添加WebDav时,需要填写https地址:
截图
之前用的是另一个docker的版本,那个好像是用JAVA写的,感觉好像功能要强一点,可以在kodi上实现进度条拖放播放,用浏览器输账号密码登录后也可以在网页上显示目录结构,但这个好像不行,是不是没有实现一些协议的原因?期待新功能上线,能直接在路由上面跑起来,可以更好的发挥路由器的性能了
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
请问如何加入匿名?
我试着留空好像不行。
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
威联通运行二进制文件后,用文件总管加载后,只显主目录的文件夹,不显示其余内容
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
centos上运行的。 网络正常连通
Post "https://api.aliyundrive.com/token/refresh": net/http: TLS handshake timeout
刷新token失败
已经恢复正常, 可能是IP受到了限制
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
可在系统下挂载。
Raidriver ver.2020.6.80,win11 不能显示网盘内容。
均按照默认设置,admin password:123456,端口8085。
webdav -rt mytoken -port 8080
rclone mount aliyun:/ Z: --cache-dir d:\tmp --vfs-cache-mode writes --config .\rclone.conf
在资源管理器中查看Z盘,只能显示第一层文件夹,而且所有文件夹内容都是空。
如题。
使用infuse 直接加载webdav播放不了视频
而用通过 Rclone 加载到本地,则能播放
本程序不失为Win11下,挂载阿里云盘的最好工具!
chrome 浏览器
不是根目录什么都不显示
根目录显示以下内容
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/</D:href>
<D:propstat>
<D:prop>
<D:supportedlock>
<D:lockentry xmlns:D="DAV:">
<D:lockscope>
<D:exclusive/>
</D:lockscope>
<D:locktype>
<D:write/>
</D:locktype>
</D:lockentry>
</D:supportedlock>
<D:resourcetype>
<D:collection xmlns:D="DAV:"/>
现在有文件比较大,ls
命令的时候 提示json报错:
json: cannot unmarshal number 2181845910 into Go struct field ListModel.items.size of type int
写了验证的方法:
package main
import (
"fmt"
"math"
)
func main(){
fmt.Printf("max int64 = %+v\n", math.MaxInt64)
fmt.Printf("max int32 = %+v\n", math.MaxInt32)
fmt.Printf("max int16 = %+v\n", math.MaxInt16)
// integer min
// fmt.Printf("min int64 = %+v\n", math.MinInt64)
fmt.Printf("min int32 = %+v\n", math.MinInt32)
fmt.Printf("max float64 = %+v\n", math.MaxFloat64)
fmt.Printf("max float32 = %+v\n", math.MaxFloat32)
}
build的时候就提示 overflows.
[yorks@yypc main]$ GOARCH=mipsle go build -ldflags "-s -w" -o testint
# main
./main.go:7:16: constant 9223372036854775807 overflows int
也就是说这个cpu架构的int是 int32 . 但是文件大小可能会有超过int32的长度,有没办法搞搞?
我下载了windows的版本,执行怎么提示RefreshToken Err=CreateFile XXXXX: The system cannot find the file specified.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.