问题描述
是否可以使用 HTML5 (BLOB API) 为大尺寸文件 (>500MB) 实现可恢复和切片(分块)上传?
Is it possible to implement resumable and slice (chunked) upload for large sizefiles (>500MB) using HTML5 (BLOB API)?
我尝试使用 https://github.com/blueimp/jQuery-File-Upload.在文档中,它说支持:可恢复上传:可以使用支持 Blob API 的浏览器恢复中止的上传.分块上传:使用支持 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.
但它似乎试图在 RAM 中加载文件,甚至挂起我的系统.有没有人遇到过这样的问题有什么解决方案?也许 HTML5 在这里不合适?
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?
推荐答案
尝试以下方法之一:
我认为它们都支持分块/切片,其中至少有几个支持恢复.至少plupload和fineuploader有jQuery插件.
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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!