Giter Club home page Giter Club logo

Comments (6)

zaxtyson avatar zaxtyson commented on May 19, 2024

通过 URL 下载时,默认检测文件的尾部 512 字节,看看能不能提取到文件信息。恰好记录文件也是可以被反序列化的,而且我用了同一个 key 表示文件名,结果把记录文件当误判成了普通文件,开始截断文件尾部 512 字节,但是记录文件根本没有这么大就崩了。

你这个记录文件反序列化得到的文件名列表中,有一个文件和网盘的文件名不一致,有点奇怪欸。
这会导致该文件夹被判断为普通文件夹,然后只下载数据,不合并。

上传小文件是真的没有去除非法字符,感谢~

from lanzoucloud-cmd.

shadowfish07 avatar shadowfish07 commented on May 19, 2024

我又传了本书上去,下载还是闪退,好像还是同样的情况欸😂
https://www.lanzous.com/b015ak2nc

from lanzoucloud-cmd.

zaxtyson avatar zaxtyson commented on May 19, 2024

我推到 dev 分支了,试试看,但是你的文件名似乎有点奇怪,记录文件和网盘文件名不一致。我之前上传了一本书没问题。 https://www.lanzous.com/b0f1enmqh

from lanzoucloud-cmd.

zaxtyson avatar zaxtyson commented on May 19, 2024

蓝奏云上传时会把你临时文件名中 3P 这个词去掉了,可能是什么诡异的文件名检测机制
3p版第_m六f_r9sidfreu_PClPzo.pdf -> 版第_m六f_r9sidfreu_PClPzo.pdf
f_prfP中rCm_版e3P5ui版ll_第sdu6文.tar -> f_prfP中rCm_版e5ui版ll_第sdu6文.tar

但是我这边上传好像没有问题😅

from lanzoucloud-cmd.

shadowfish07 avatar shadowfish07 commented on May 19, 2024

噢,是这样,我的客户端是没修复tmp文件夹BUG的2.4.0版本,我去下载安装了最新的2.4.0,就可以正常上传下载了

from lanzoucloud-cmd.

zaxtyson avatar zaxtyson commented on May 19, 2024

但是的确暴露出来几个bug👍

from lanzoucloud-cmd.

Related Issues (20)

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.