-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
general: fix form upload when ticked "As A Task" #5145
Conversation
…load to avoid local temp file if possible; replace readseekcloser with File interface to speed up stream operations (cherry picked from commit d92db01)
(cherry picked from commit b1f395e)
(cherry picked from commit e311a86)
(cherry picked from commit 09d4813)
(cherry picked from commit a200e71)
# Conflicts: # go.sum
…-upload (cherry picked from commit bbd538a)
(cherry picked from commit a511590)
(cherry picked from commit e74e8e0)
# Conflicts: # drivers/local/driver.go # internal/stream/stream.go
(cherry picked from commit bf4509a)
以下测试结果测试只测试了[百度,阿里,移动,天翼,115],并未全部测试,成功的截图就不截图占地方了,有失败任务的再单独截图 百度云盘Stream:正常✅(测试文件大小为78M/69M/67M)
Form:正常✅(测试文件大小为55M/69M/60M)
修改时间:正常✅ 百度偶尔会出现这个错误,感觉这是百度的问题:
阿里云盘开启秒传115/阿里互传:正常✅ 正常上传文件秒传:正常✅ 从其他存储复制到阿里:正常✅(测试文件大小为222M/226M/218M) Stream:正常✅(测试文件大小为190M/221M/272M)
Form:正常✅(测试文件大小为308M/314M/344M)
修改时间:不正常❌截图如下 未开启秒传从其他存储复制到阿里:正常✅(测试文件大小为43M/92M/127M) Stream:正常✅(测试文件大小为74M/69M/67M)
Form:正常✅(测试文件大小为66M/65M/65M)
修改时间:不正常❌,截图如下 移动云盘Stream:正常✅(测试文件大小为74M/69M/67M)
Form:正常✅(测试文件大小为66M/65M/65M)
修改时间:不正常❌,截图如下 天翼云盘Stream:正常✅(测试文件大小为74M/69M/67M)
Form:正常✅(测试文件大小为66M/65M/65M)
修改时间:不正常❌,截图如下 115云盘115/阿里互传:正常✅ 其他存储跨存储秒传:正常✅ 正常上传文件秒传:正常✅ Stream:正常✅(测试文件大小为74M/69M/67M)
Form:正常✅(测试文件大小为66M/65M/65M)
修改时间:不正常❌,截图就不截了 和上面的一样 |
目前测试有问题的只有 |
修改时间不正常应该是你用的前端不是最新的main分支的吧,需要前端把修改时间传过来才行,老版本前端不传的 |
这个不知道,我用的你提交代码在 Action自动构建的,倒是百度的是正确的 😹 xhofe好像提交了这个修复?
|
(cherry picked from commit 42ed0ed)
阿里云服务器在上传时不接受local_created_at和local_modified_at,上传成功但是local_created_at和local_modified_at为空,而created_at和updated_at为上传发生的时间。这个等后人修复吧 |
更新时间的不重要,等后人修复吧 😹 😹 😹 |
合并的太快啦~ 😹 😹
同样的文件从本地跨存储到阿里秒传没有报错 |
提示一下115非会员账号上传单文件大小限制5g |
Close #5134