cnbeining / onedrivecmd

A command line client for Onedrive.
https://www.cnbeining.com/
GNU Affero General Public License v3.0
378 stars 78 forks source link

V0.1.7: experimental retry-when-failed function; make 'put -hack' recursive; fix bugs #44

Closed DictXiong closed 5 years ago

DictXiong commented 5 years ago

新版本 0.1.7, 改动:

  1. 添加了实验性的失败时重传功能. 对于不带 -hack 的上传功能来说, 可以只重传当前分片, 大大地提高了效率. 目前的重试的次数限制为五次.

Snipaste_2019-03-18_16-03-13

Snipaste_2019-03-19_11-55-45

  1. put 总是能够上传文件夹了! 因此为 -hack 新写了一个函数 upload_self_hack(...) 用来实现递归.

Snipaste_2019-03-19_12-17-13

  1. 修复 bug: 这个 bug 曾导致 put 无法上传空文件.

  2. 修复 bug: 这个 bug 曾导致 put -hack 无法上传任何文件.

  3. 修复 bug: 这个 bug 曾导致, 当上传的远程文件夹是根目录 / 时, 发送的请求实际是 //.

  4. 修改了 list 的一个显示细节.

  5. 更新了 README.md.

DictXiong commented 5 years ago

104 - ECONNRESET 错误也是可以解决的...上面 18 日的那张图是 SSL 错误.

Snipaste_2019-03-19_21-05-38

DictXiong commented 5 years ago

我先合并了就...

cnbeining commented 5 years ago

我晚上把pypi的权限给你。

On Thu, Mar 21, 2019, 10:08 AM Dict Xiong notifications@github.com wrote:

Merged #44 https://github.com/cnbeining/onedrivecmd/pull/44 into master.

— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/cnbeining/onedrivecmd/pull/44#event-2219824753, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfRgja2amVkN3pS9FWZTkOWci_vTqL6ks5vY5JAgaJpZM4b7Rwo .