阿里云盘 WebDAV 服务

Overview

aliyundrive-webdav

GitHub Actions PyPI Docker Image

阿里云盘 WebDAV 服务,主要使用场景为配合支持 WebDAV 协议的客户端 App 如 InfusenPlayer 等实现在电视上直接观看云盘视频内容, 支持上传文件,但受限于 WebDAV 协议不支持文件秒传。

安装

可以从 GitHub Releases 页面下载预先构建的二进制包, 也可以使用 pip 从 PyPI 下载:

pip install aliyundrive-webdav

OpenWrt 路由器

GitHub Releases 中有预编译的 ipk 文件, 目前提供了 aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.4.2/aliyundrive-webdav_0.4.2-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.4.2/luci-app-aliyundrive-webdav_0.4.2_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v0.4.2/luci-i18n-aliyundrive-webdav-zh-cn_0.4.2-1_all.ipk
opkg install aliyundrive-webdav_0.4.2-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_0.4.2_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_0.4.2-1_all.ipk

其它 CPU 架构的路由器可在 GitHub Releases 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见 OpenWrt 路由器 CPU 架构如下表(欢迎补充):

路由器 CPU 架构
nanopi r4s aarch64_generic
小米 AX3600 aarch64_cortex-a53
斐讯 N1 盒子 aarch64_cortex-a53
Newifi D2 mipsel_24kc
Pogoplug arm_mpcore

OpenWrt 配置界面

Koolshare 梅林固件

GitHub Releases 中有预编译包 aliyundrivewebdav-merlin-arm*.tar.gz , 目前提供了旧的 arm380 和兼容 arm384/386 固件的版本,可在下载后在软件中心离线安装。

梅林配置界面

Docker 运行

docker run -d --name=aliyundrive-webdav --restart=unless-stopped -p 8080:8080 -v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/ -e REFRESH_TOKEN='refresh token' messense/aliyundrive-webdav

QNAP 威联通 NAS

管理员登陆 NAS 后安装 ContainerStation 并启动服务,在 Management (管理) 标签中 Create Application (新建应用),配置如下

version: '3.3'
services:
  aliyundrive-webdav:
    container_name: aliyundrive-webdav
    restart: unless-stopped
    ports:
      - '8080:8080'
    environment:
      - 'REFRESH_TOKEN=mytoken...'
    image: messense/aliyundrive-webdav

其中 REFRESH_TOKEN 文档最下面说明;:8080 网盘访问映射端口,可以按需改为其他的。

点击 Create (创建)后启动,访问 http://nas地址:8080/ 即可看到你网盘的自动生成索引网页文件。

参考文档

命令行用法

$ aliyundrive-webdav --help
aliyundrive-webdav 0.4.2

USAGE:
    aliyundrive-webdav [FLAGS] [OPTIONS] --refresh-token <refresh-token>

FLAGS:
    -I, --auto-index    Automatically generate index.html
    -h, --help          Prints help information
        --no-trash      Delete file permanently instead of trashing it
    -V, --version       Prints version information

OPTIONS:
    -W, --auth-password <auth-password>          WebDAV authentication password [env: WEBDAV_AUTH_PASSWORD=]
    -U, --auth-user <auth-user>                  WebDAV authentication username [env: WEBDAV_AUTH_USER=]
        --cache-size <cache-size>                Directory entries cache size [default: 1000]
        --host <host>                            Listen host [default: 0.0.0.0]
    -p, --port <port>                            Listen port [default: 8080]
    -S, --read-buffer-size <read-buffer-size>
            Read/download buffer size in bytes, defaults to 10MB [default: 10485760]

    -r, --refresh-token <refresh-token>          Aliyun drive refresh token [env: REFRESH_TOKEN=]
        --root <root>                            Root directory path [default: /]
    -w, --workdir <workdir>                      Working directory, refresh_token will be stored in there if specified

获取 refresh_token

登录阿里云盘后,可以在开发者工具 -> Application -> Local Storage 中的 token 字段中找到。
注意:不是复制整段 JSON 值,而是 JSON 里 refresh_token 字段的值,如下图所示红色部分:

refresh token

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Comments
  • 今天webdav无法正常使用了 【升级到 1.5.1 以上版本解决】

    今天webdav无法正常使用了 【升级到 1.5.1 以上版本解决】

    问题描述

    openwrt系统挂载 正在看电影 突然无法使用 日志如下: 2022-07-01T11:14:50.299631Z ERROR aliyundrive_webdav::drive: refresh token failed: HTTP status client error (405 Method Not Allowed) for url (https://www.aliyundrive.com/): Method POST not allowed Error: get default drive id failed

    重现步骤

    无法启动

    版本

    1.5.0

    运行平台

    X86软路由 openwrt

    refresh token 获取方式

    网页版

    日志

    2022-07-01T11:14:50.299631Z ERROR aliyundrive_webdav::drive: refresh token failed: HTTP status client error (405 Method Not Allowed) for url (https://www.aliyundrive.com/): Method POST not allowed Error: get default drive id failed

    bug 
    opened by rockmetalcn 45
  • 无法安装 luci-app-aliyundrive-webdav和luci-i18n-aliyundrive-webdav-zh-cn_0.5.4-1_all

    无法安装 luci-app-aliyundrive-webdav和luci-i18n-aliyundrive-webdav-zh-cn_0.5.4-1_all

    问题描述

    Installing luci-app-aliyundrive-webdav (0.5.4) to root...
    Configuring luci-app-aliyundrive-webdav.
    uci: Entry not found
    uci: Entry not found
    uci: Entry not found
    uci: Entry not found
    Installing luci-i18n-aliyundrive-webdav-zh-cn (0.5.4-1) to root...
    Configuring luci-i18n-aliyundrive-webdav-zh-cn.
    uci: Entry not found
    uci: Entry not found
    uci: Entry not found
    uci: Entry not found
    

    重现步骤

    路由为 Xiaomi Redmi Router AC2100 (CpuMark : 4537.891393 Scores)

    安装版本0.5.4

    版本

    0.5.4

    运行平台

    Xiaomi Redmi Router AC2100

    日志

    No response

    bug 
    opened by sherlockHlb 35
  • 云服务器 rclone挂载后上传大文件失败

    云服务器 rclone挂载后上传大文件失败

    问题描述

    用rclone 挂载在阿里云轻量服务器上,之后用rclone 命令复制上传到云盘,小文件可以 5M左右的,

    大文件没有成功过

    明明是267M的文件,随着上传,Transferred 那边总大小会 变成 已上传的量+267M

    导致永远上传不完

    已尝试Transferred 超过300M,还是不行

    image

    重现步骤

    docker 安装 rclone 挂载 rclone 上传

    版本

    最新docker版

    运行平台

    linux

    日志

    HTTP status client error (400 Bad Request) for url (https://api.aliyundrive.com/v2/recyclebin/trash)

    bug 
    opened by geekhuashan 15
  • rclone 挂载 cp 文件 OOM

    rclone 挂载 cp 文件 OOM

    luci设置 这个是luci的设置截图,用rclone挂在用的cp命令。 这个是rclone的挂载命令:/usr/bin/rclone mount alidrive:/ /home/alidrive --vfs-cache-mode writes --vfs-cache-max-age 10s --allow-other --buffer-size 200M --cache-dir /tmp --allow-non-empty 下面贴一下日志。 版本是0.4.7目前luci界面已经打勾但是未运行状态了。 Oct 20 01:45:49.680  INFO aliyundrive_webdav::drive: refresh token succeed refresh_token=xxx nick_name=娴疯睔438 Oct 20 01:45:49.680  INFO aliyundrive_webdav::drive: found default drive drive_id=4377724 Oct 20 01:45:49.680  INFO aliyundrive_webdav: listening on 0.0.0.0:8088 Oct 20 01:51:13.302  INFO aliyundrive_webdav::drive: refresh token succeed refresh_token=xxx nick_name=娴疯睔438 Oct 20 01:51:13.302  INFO aliyundrive_webdav::drive: found default drive drive_id=4377724 Oct 20 01:51:13.302  INFO aliyundrive_webdav: listening on 0.0.0.0:8088

    wontfix 
    opened by haitun001 15
  • 下载链接包含 `x-oss-additional-headers=referer` 时需要中转

    下载链接包含 `x-oss-additional-headers=referer` 时需要中转

    Fixes https://github.com/messense/aliyundrive-webdav/pull/557#issuecomment-1216138006 Fixes #561

    @zhudan 可以确认下下载链接是不是包含了 x-oss-additional-headers=referer

    cc @sihuan

    opened by messense 14
  • N1盒子coreelec系统docker

    N1盒子coreelec系统docker

    N1盒子昨天在openwrt系统很容易安装正常运行,今天用coreelec系统docker部署出错 CoreELEC:~ # docker run -d --name=aliyundrive-webdav --restart=unless-stopped -p 8088:8080 -e REFRESH_TOKEN='e80f06fe04 xxxxxxxxxxxxxx61637cb2' messense/aliyundrive-webdav Unable to find image 'messense/aliyundrive-webdav:latest' locally latest: Pulling from messense/aliyundrive-webdav docker: no matching manifest for linux/arm/v8 in the manifest list entries. 是同一个盒子,只是系统不同。

    question 
    opened by jmheqiao 12
  • feat: Support macOS Finder uploader

    feat: Support macOS Finder uploader

    开发者你好,我尝试修复了一下macOS的Finder上传的功能,现在可以上传文件了。 另外https://github.com/messense/aliyundrive-webdav/issues/73 反馈的0KB文件可能与write_byte没有修改file.size并且直接调用prepare_for_upload有关。 写完这个我在想 write_buf 是否也需要修改 self.file.size

    enhancement 
    opened by qinyuhang 11
  • merlin clash无法启动aliyundrive-webdav

    merlin clash无法启动aliyundrive-webdav

    问题描述

    2022年07月03日 15:00:38: 当前已进入aliyundrivewebdav_config.sh 2022年07月03日 15:00:38: 当前已进入aliyundrivewebdavconfig.sh执行 2022年07月03日 15:00:38: 先结束进程 2022年07月03日 15:00:38: 参数为:8321 -r xxxxxxxxxxxx --root / -S 10485760 --cache-size 1000 2022年07月03日 15:00:43: aliyundrive 进程启动失败!请检查参数是否存在问题,即将关闭 2022年07月03日 15:00:43: 失败原因: 2022年07月03日 15:00:43: Error: api request failed with status: 401 - for: "https://api.github.com/repos/messense/aliyundrive-webdav/releases/latest"

    重现步骤

    启动即出现

    版本

    1.6.2

    运行平台

    路由器

    refresh token 获取方式

    网页版

    日志

    2022年07月03日 15:00:38: 当前已进入aliyundrivewebdav_config.sh 2022年07月03日 15:00:38: 当前已进入aliyundrivewebdavconfig.sh执行 2022年07月03日 15:00:38: 先结束进程 2022年07月03日 15:00:38: 参数为:8321 -r xxxxxxxxxxxx --root / -S 10485760 --cache-size 1000 2022年07月03日 15:00:43: aliyundrive 进程启动失败!请检查参数是否存在问题,即将关闭 2022年07月03日 15:00:43: 失败原因: 2022年07月03日 15:00:43: Error: api request failed with status: 401 - for: "https://api.github.com/repos/messense/aliyundrive-webdav/releases/latest"

    opened by TsanChao 10
  • iOS无法访问https协议的webdav

    iOS无法访问https协议的webdav

    问题描述

    自建服务器,有域名证书。

    docker命令:

    docker run -d --name=aliyundrive-webdav --restart=unless-stopped
    -v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/
    -p 8080:8080
    -e REFRESH_TOKEN='***'
    -e WEBDAV_AUTH_USER=***
    -e WEBDAV_AUTH_PASSWORD=***
    -e TLS_CERT=/etc/aliyundrive-webdav/cert.crt
    -e TLS_KEY=/etc/aliyundrive-webdav/private.key
    messense/aliyundrive-webdav

    在对应文件夹放置证书和密钥后。

    win端能访问,但是ios端safari会显示:safari浏览器打不开该网页。错误是:”无法解析响应“。换为其它端口能访问网站其他https网页。

    重现步骤

    1. 自建服务器,申请域名证书。
    2. 安装docker。
    3. docker run -d --name=aliyundrive-webdav --restart=unless-stopped
      -v /etc/aliyundrive-webdav/:/etc/aliyundrive-webdav/
      -p 8080:8080
      -e REFRESH_TOKEN='***'
      -e WEBDAV_AUTH_USER=***
      -e WEBDAV_AUTH_PASSWORD=***
      -e TLS_CERT=/etc/aliyundrive-webdav/cert.crt
      -e TLS_KEY=/etc/aliyundrive-webdav/private.key
      messense/aliyundrive-webdav
    4. 放置证书密钥文件。
    5. IOS端访问webdav的htpps网址。

    版本

    latest

    运行平台

    Linux CentOS 8 docker

    日志

    ios端safari会显示:safari浏览器打不开该网页。错误是:”无法解析响应“。

    bug 
    opened by DEabcdp 9
  • 上传文件超过500左右就直接卡死

    上传文件超过500左右就直接卡死

    问题描述

    用openwrt插件挂的webdav,电脑建立链接,有自带管理器 或软件建立的,上传文件超过500左右就直接卡死,也上传不了

    重现步骤

    No response

    版本

    0.5.5

    运行平台

    x96 max+

    日志

    2021-11-15T18:53:33.972062Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119203640 end=4708769117 2021-11-15T18:53:33.994414Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117023960 count=4591745158 size=4708769118 2021-11-15T18:53:33.994655Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117023960 end=4708769117 2021-11-15T18:53:33.998160Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119213200 count=4589555918 size=4708769118 2021-11-15T18:53:33.998435Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119213200 end=4708769117 2021-11-15T18:53:34.020905Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117033520 count=4591735598 size=4708769118 2021-11-15T18:53:34.021147Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117033520 end=4708769117 2021-11-15T18:53:34.024010Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119222760 count=4589546358 size=4708769118 2021-11-15T18:53:34.024287Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119222760 end=4708769117 2021-11-15T18:53:34.047002Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117043080 count=4591726038 size=4708769118 2021-11-15T18:53:34.047239Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117043080 end=4708769117 2021-11-15T18:53:34.049740Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119232320 count=4589536798 size=4708769118 2021-11-15T18:53:34.049978Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119232320 end=4708769117 2021-11-15T18:53:34.073621Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117052640 count=4591716478 size=4708769118 2021-11-15T18:53:34.073854Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117052640 end=4708769117 2021-11-15T18:53:34.075924Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119241880 count=4589527238 size=4708769118 2021-11-15T18:53:34.076203Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119241880 end=4708769117 2021-11-15T18:53:34.098748Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117062200 count=4591706918 size=4708769118 2021-11-15T18:53:34.098990Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117062200 end=4708769117 2021-11-15T18:53:34.102345Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119251440 count=4589517678 size=4708769118 2021-11-15T18:53:34.102581Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119251440 end=4708769117 2021-11-15T18:53:34.124969Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117071760 count=4591697358 size=4708769118 2021-11-15T18:53:34.125197Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117071760 end=4708769117 2021-11-15T18:53:34.127647Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119261000 count=4589508118 size=4708769118 2021-11-15T18:53:34.127878Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119261000 end=4708769117 2021-11-15T18:53:34.151693Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117081320 count=4591687798 size=4708769118 2021-11-15T18:53:34.151998Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117081320 end=4708769117 2021-11-15T18:53:34.152518Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119270560 count=4589498558 size=4708769118 2021-11-15T18:53:34.152726Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119270560 end=4708769117 2021-11-15T18:53:34.178031Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117090880 count=4591678238 size=4708769118 2021-11-15T18:53:34.178263Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117090880 end=4708769117 2021-11-15T18:53:34.178918Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119280120 count=4589488998 size=4708769118 2021-11-15T18:53:34.179125Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119280120 end=4708769117 2021-11-15T18:53:34.204619Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117100440 count=4591668678 size=4708769118 2021-11-15T18:53:34.205004Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117100440 end=4708769117 2021-11-15T18:53:34.205131Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119289680 count=4589479438 size=4708769118 2021-11-15T18:53:34.205252Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119289680 end=4708769117 2021-11-15T18:53:34.231099Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117110000 count=4591659118 size=4708769118 2021-11-15T18:53:34.231336Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117110000 end=4708769117 2021-11-15T18:53:34.231822Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119299240 count=4589469878 size=4708769118 2021-11-15T18:53:34.232039Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119299240 end=4708769117 2021-11-15T18:53:34.258142Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117119560 count=4591649558 size=4708769118 2021-11-15T18:53:34.258433Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117119560 end=4708769117 2021-11-15T18:53:34.258568Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119308800 count=4589460318 size=4708769118 2021-11-15T18:53:34.258739Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119308800 end=4708769117 2021-11-15T18:53:34.284286Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117129120 count=4591639998 size=4708769118 2021-11-15T18:53:34.284525Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117129120 end=4708769117 2021-11-15T18:53:34.285142Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119318360 count=4589450758 size=4708769118 2021-11-15T18:53:34.285346Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119318360 end=4708769117 2021-11-15T18:53:34.310496Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117138680 count=4591630438 size=4708769118 2021-11-15T18:53:34.310739Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117138680 end=4708769117 2021-11-15T18:53:34.311578Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119327920 count=4589441198 size=4708769118 2021-11-15T18:53:34.311814Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119327920 end=4708769117 2021-11-15T18:53:34.336411Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117148240 count=4591620878 size=4708769118 2021-11-15T18:53:34.336648Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117148240 end=4708769117 2021-11-15T18:53:34.337987Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119337480 count=4589431638 size=4708769118 2021-11-15T18:53:34.338224Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119337480 end=4708769117 2021-11-15T18:53:34.363258Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=117157800 count=4591611318 size=4708769118 2021-11-15T18:53:34.363478Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=117157800 end=4708769117 2021-11-15T18:53:34.363481Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id=616c04ced9c2ef7c98d6422b8eaa4c9b5f1d0749 file_name=Dune.2021.1080p.HDRip.X264-EVO.mkv pos=119347040 count=4589422078 size=4708769118 2021-11-15T18:53:34.363633Z DEBUG aliyundrive_webdav::drive: download file url=https://pds-system-file.oss-cn-beijing.aliyuncs.com/illegal.mp4 start=119347040 end=4708769117 2021-11-15T20:33:36.288991Z INFO aliyundrive_webdav::drive: refresh token succeed refresh_token= nick_name=扶朕起来 2021-11-15T22:30:16.465311Z INFO aliyundrive_webdav::drive: refresh token succeed refresh_token= nick_name=扶朕起来 2021-11-16T00:26:56.628389Z INFO aliyundrive_webdav::drive: refresh token succeed refresh_token= nick_name=扶朕起来 2021-11-16T01:14:32.413225Z DEBUG aliyundrive_webdav::vfs: fs: metadata path=/ 2021-11-16T01:14:32.413341Z DEBUG aliyundrive_webdav::vfs: fs: read_dir path=/ 2021-11-16T01:14:32.413377Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/ 2021-11-16T01:14:32.413431Z DEBUG aliyundrive_webdav::drive: list file drive_id=136442 parent_file_id=root marker=None 2021-11-16T01:14:33.036875Z DEBUG aliyundrive_webdav::vfs: fs: metadata path=/favicon.ico 2021-11-16T01:14:33.037015Z DEBUG aliyundrive_webdav::drive: get file by path drive_id=136442 path=/favicon.ico 2021-11-16T01:14:33.103361Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/ 2021-11-16T01:14:35.686674Z DEBUG aliyundrive_webdav::vfs: fs: metadata path=/电影图片 2021-11-16T01:14:35.686837Z DEBUG aliyundrive_webdav::vfs: fs: read_dir path=/电影图片 2021-11-16T01:14:35.686876Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片 2021-11-16T01:14:35.686946Z DEBUG aliyundrive_webdav::drive: list file drive_id=136442 parent_file_id=613a010aa559d3eb8a494ae587f8f6d88d61f0f6 marker=None 2021-11-16T01:14:37.214216Z DEBUG aliyundrive_webdav::vfs: fs: metadata path=/电影图片/电影 2021-11-16T01:14:37.214374Z DEBUG aliyundrive_webdav::vfs: fs: read_dir path=/电影图片/电影 2021-11-16T01:14:37.214421Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片/电影 2021-11-16T01:14:37.214484Z DEBUG aliyundrive_webdav::drive: list file drive_id=136442 parent_file_id=60e7b45d2d7c53f616ad4b259419e128c18feeaf marker=None 2021-11-16T01:14:37.355313Z DEBUG aliyundrive_webdav::vfs: added 1 uploading files 2021-11-16T01:14:53.521982Z DEBUG aliyundrive_webdav::vfs: fs: metadata path=/电影图片/电影/2021-007:无暇赴死.mp4 2021-11-16T01:14:53.522118Z DEBUG aliyundrive_webdav::drive: get file by path drive_id=136442 path=/电影图片/电影/2021-007:无暇赴死.mp4 2021-11-16T01:14:53.594821Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/ 2021-11-16T01:14:53.594955Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片 2021-11-16T01:14:53.595038Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片/电影 2021-11-16T01:14:53.595099Z DEBUG aliyundrive_webdav::vfs: added 1 uploading files 2021-11-16T01:14:53.595151Z DEBUG aliyundrive_webdav::vfs: fs: open path=/电影图片/电影/2021-007:无暇赴死.mp4 mode=read 2021-11-16T01:14:53.595268Z DEBUG aliyundrive_webdav::drive: get file by path drive_id=136442 path=/电影图片/电影/2021-007:无暇赴死.mp4 2021-11-16T01:14:53.705100Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/ 2021-11-16T01:14:53.705282Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片 2021-11-16T01:14:53.705370Z DEBUG aliyundrive_webdav::vfs: read_dir and cache path=/电影图片/电影 2021-11-16T01:14:53.705434Z DEBUG aliyundrive_webdav::vfs: added 1 uploading files 2021-11-16T01:14:53.705498Z DEBUG aliyundrive_webdav::vfs: file: metadata file_id= file_name=2021-007:无暇赴死.mp4 2021-11-16T01:14:53.705705Z DEBUG aliyundrive_webdav::vfs: file: read_bytes file_id= file_name=2021-007:无暇赴死.mp4 pos=0 count=4134125828 size=4134125828 2021-11-16T01:16:37.285344Z INFO aliyundrive_webdav::drive: refresh token succeed refresh_token= nick_name=扶朕起来 2021-11-16T01:16:37.285943Z INFO aliyundrive_webdav::drive: found default drive drive_id=136442 2021-11-16T01:16:37.287219Z INFO aliyundrive_webdav: listening on 0.0.0.0:2000 2021-11-16T01:19:42.515690Z INFO aliyundrive_webdav::drive: refresh token succeed refresh_token= nick_name=扶朕起来 2021-11-16T01:19:42.517123Z INFO aliyundrive_webdav::drive: found default drive drive_id=136442 2021-11-16T01:19:42.518026Z INFO aliyundrive_webdav: listening on 0.0.0.0:2000

    bug 
    opened by underlaw 9
  • 目录同步对比等高频请求,由于速度太快会出错

    目录同步对比等高频请求,由于速度太快会出错

    谢谢大佬你写的程序,很好用。小弟目前遇到个问题,不知大佬是否能做修改,我描述下场景: 当把WebDav挂载到某个盘符(或者目录)下,使用Beyond Compare或者Find遍历命令等请求过频的操作时, 会导致提示没有找到文件,这个情况猜想应该是阿里云盘的请求调用频率限制引起,不知道大佬能否处理下?

    question 
    opened by icyomik 9
Releases(v1.10.4)
Owner
messense
Python Backend Developer at day, Rustacean at night.
messense
Dav-server-rs - Rust WebDAV server library. A fork of the webdav-handler crate.

dav-server-rs A fork of the webdav-handler-rs project. Generic async HTTP/Webdav handler Webdav (RFC4918) is defined as HTTP (GET/HEAD/PUT/DELETE) plu

messense 30 Dec 29, 2022
Dufs is a distinctive utility file server that supports static serving, uploading, searching, accessing control, webdav...

Dufs (Old Name: Duf) Dufs is a distinctive utility file server that supports static serving, uploading, searching, accessing control, webdav... Featur

null 2.1k Dec 31, 2022
A file server that supports static serving, uploading, searching, accessing control, webdav...

Dufs Dufs is a distinctive utility file server that supports static serving, uploading, searching, accessing control, webdav... Features Serve static

null 3.6k Oct 30, 2023