Giter Club home page Giter Club logo

baidupcs-batch-upload's Issues

带空格的本地目录/网盘目录场景下有问题

我也有这种批量上传的需求, 好久之前找过https://github.com/iikira/BaiduPCS-Go 这个项目提issue, 不过他们没支持.
所以想着自己写一个, 没想到楼主已经有现成的了, 很感谢.
不过在测试过程中发现, 楼主的工具有点问题, 不支持带空格的目录场景, 例如运行:
npx @masx200/baidupcs-batch-upload --input="I:\2 2" --dest="/test/t s" --concurrent=20

会提示找不到本地文件, 并且如果网盘目录中带空格, 也是有问题的, 上传到其他目录去了.
希望楼主可以修复下哈..我关注着咧
还有最好楼主上传下BaiduPCS-Go.exe的压缩包到项目中呗, 因为我发现原来的项目已经被百度叫去喝茶了, 已经全网封禁了, 多可惜啊 .

请教一下安装使用问题

npm i -g @masx200/baidupcs-batch-upload
执行后就是安装完成了吗
我运行
npx @masx200/baidupcs-batch-upload --input=/mnt/sda1/enc91/91all --dest=/91all
显示错误是什么问题

(node:12069) ExperimentalWarning: The ESM module loader is experimental.
file:///usr/lib/node_modules/@masx200/baidupcs-batch-upload/node_modules/@masx200/mini-cli-args-parser/lib/parseargs.js:10
const groups = execArray?.groups;
^

SyntaxError: Unexpected token '.'
at Loader.moduleStrategy (internal/modules/esm/translators.js:122:18)

上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req uest

我使用的是https://github.com/masx200/baidupcs-batch-upload/releases/download/1.1.5/BaiduPCS-Go-v3.6.2-windows-x64.zip

我的系统是WIN2012 R2

我是直接双击运行的BaiduPCS-Go.exe 然后用的命令行baidupcs-go.exe upload d:/ff3/666 \1015

结果是这样的。。

需要验证手机或邮箱才能登录
选择一种验证方式
1: 手机:
2: 邮箱: [email protected]

请输入验证方式 (1 或 2) > 2
消息: 验证码已发送至你的邮箱 [email protected]

请输入接收到的验证码 > XXXX
百度帐号登录成功: XXXXXXX

D:\ff3\666>baidupcs-go.exe upload d:/ff3/666 \1015
[1] 加入上传队列: d:/ff3/666/888.mp4
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 1/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 2/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest, 重试 3/3
[1] 准备上传: d:/ff3/666/888.mp4
[1] 上传文件失败, 分片上传—文件分片及上传: 网络错误, http 响应错误, 400 Bad Req
uest

上传结束, 时间: 13.903s, 总大小: 0B
以下文件上传失败:
1 d:/ff3/666/888.mp4

无法成功上传啊 请问哪里出错了?

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.