Coder Social home page Coder Social logo

alidrive-uploader-for-baota's Introduction

说明

本项目为阿里云盘上传工具的宝塔插件
可以将服务器内的文件快速上传到阿里云盘

演示图

安装

Centos7

yum install -y wget && wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install

Debian

wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install

更新

wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh update

配置账号信息

  • 控制台快速获取代码
var d = JSON.parse(localStorage.getItem('token'));
console.log(`  drive_id: ${d.default_drive_id}\n  refresh_token: ${d.refresh_token}`);

alidrive-uploader-for-baota's People

Contributors

aoaostar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

alidrive-uploader-for-baota's Issues

建议优化任务格式

目前任务列表仅有“要上传的文件”这一个字段,建议增加“目的路径(云端路径)”字段。原因及场景如下:

场景:任务池仍然有需要上传的文件,此时想添加新的任务,新任务要存储到和正在执行的任务不同的网盘路径。
这时候修改配置的路径,之前未执行完的旧任务也会上传到设置的新目录。

更新版本失败

使用服务里的检查更新按钮,

当前有更新
插件当前版本为1.5.1,最新版本为1.5.1
驱动当前版本为v2021.0924.1700,最新版本为v2021.1011.1700
确定要更新吗?

点击确定更新后是个红色的叉叉,更新不成功。

文件名含空格会上传失败

版本V2.2.2
当上传的文件名有空格时,会报错提示没有该文件,调用core的命令时应该将文件名带上引号
image
image

上传显示100%了,但是还是提示失败

�[31mERRO�[0m[2023-11-30 18:48:49] [录制-xxx-xxx-20231129-215313-078-永不加班!.flv]上传失败: InvalidResource.PartList: The resource part_list is not valid. part entity too small
这个是什么原因呢?

如果不后台常驻运行,会开启失败

如果不后台常驻运行,会开启失败,开启常驻运行就没有任何问题

日志是:

该文件夹不存在:D:\Pictures\,请重试

    阿里云盘上传工具启动成功
    当前时间:2021-08-17 23:41:31
	REFRESH_TOKEN:人工隐藏
	DRIVE_ID:人工隐藏
	ROOT_PATH:云服务器备份/腾讯云/
	FILE_PATH:
	MULTITHREADING:True
	MAX_WORKERS:5
	CHUNK_SIZE:104857600
	RESUME:True
	OVERWRITE:True
	RETRY:3
	RESIDENT:False
	VERSIONS:v2021.0804.1200

=================================================

该文件夹不存在:D:\Pictures\,请重试

    阿里云盘上传工具启动成功
    当前时间:2021-08-17 23:45:56
	REFRESH_TOKEN:人工隐藏
	DRIVE_ID:人工隐藏
	ROOT_PATH:云服务器备份/腾讯云/
	FILE_PATH:
	MULTITHREADING:True
	MAX_WORKERS:5
	CHUNK_SIZE:104857600
	RESUME:True
	OVERWRITE:True
	RETRY:3
	RESIDENT:False
	VERSIONS:v2021.0804.1200

=================================================

=================================================
阿里云盘上传工具启动成功
当前时间:2021-08-17 23:47:22
REFRESH_TOKEN:人工隐藏
DRIVE_ID:人工隐藏
ROOT_PATH:云服务器备份/腾讯云/
FILE_PATH:
MULTITHREADING:True
MAX_WORKERS:5
CHUNK_SIZE:104857600
RESUME:True
OVERWRITE:True
RETRY:3
RESIDENT:True
VERSIONS:v2021.0804.1200

【shadowsocks_r_qr.png】正在校检文件中,耗时与文件大小有关

    文件名:shadowsocks_r_qr.png
    hash:07af316b0dd2c50f9715454489859f266ba3fd8c
    文件大小:558
    文件路径:/www/vpn/shadowsocks_r_qr.png

=================================================

检索目录中
AccessToken已失效,尝试刷新AccessToken中
AccessToken刷新成功,准备返回
目录id获取成功611bda0fa7c771012aa74daea27080881f082995
正在上传【shadowsocks_r_qr.png】100.00%
【shadowsocks_r_qr.png】上传成功!消耗17秒
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中
当前无任务,等待新的任务队列中

上传中途失败

没升级之前用老版本可以上传的,升级了新版本之后,刚点了上传是一直在上传的,过了段时间我再去看就失败了。视频文件大概15个G,用的阿里云上海的轻量8M宽带。
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.