HTML5可恢复和分块上传大文件(> 500MB) [英] HTML5 resumable and chunked upload of large files (> 500MB)

查看:337
本文介绍了HTML5可恢复和分块上传大文件(> 500MB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用HTML5(BLOB API)为大尺寸文件(> 500MB)实现可恢复和分片(分块)上传? 我尝试使用 https://github.com/blueimp/jQuery-File-Upload
在文档中说它支持:
可恢复上传:
中止上传可以通过支持Blob API的浏览器恢复。
Chunked uploads:
大型文件可以通过支持Blob API的浏览器以较小的块上传。



但它似乎试图加载文件在RAM中,甚至挂起我的系统。有没有人遇到过这样的问题解决方案是什么?或许HTML5在这里不合适?

解决方案

请尝试以下其中一种方法:



我认为他们都支持chunking / slicing,并且至少有几个支持恢复。至少plupload和fineuploader都有jQuery插件。


Is it possible to implement resumable and slice (chunked) upload for large sizefiles (>500MB) using HTML5 (BLOB API)?

I tried to use https://github.com/blueimp/jQuery-File-Upload. In documentation its said that is supports: Resumable uploads: Aborted uploads can be resumed with browsers supporting the Blob API. Chunked uploads: Large files can be uploaded in smaller chunks with browsers supporting the Blob API.

But it seems that it tries to load file in RAM and that even hangs my system. Did anyone come across such problem what were the solutions? Maybe HTML5 is inappropriate here?

解决方案

Try one of these:

I think they all support chunking/slicing, and at least several of them support resuming. At least plupload and fineuploader have jQuery plugins.

这篇关于HTML5可恢复和分块上传大文件(> 500MB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆