开发者社区 问答 正文

前端oss分片上传图片大于100k会失败

client.multipartUpload(imageUrl, file) 只能上传小于100k的图片,大于100k的图片会提示One or more of the specified parts could not be found or the specified entity tag might not have matched the part's entity tag.
从PartNumber节点看只有第一个分片。

官网给出的api好像是要写一个分片的计算和整合分片的方法,但是没有具体的实例,有没有大神可以给一个分片上传的实例,比如上传一张大于100k 的图片这种的。

在此谢过了

展开
收起
小怕跑 2016-12-12 10:53:34 7829 分享 版权