jQuery HTML5 可恢复和分块上传大文件 (> 500MB)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9683263/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
HTML5 resumable and chunked upload of large files (> 500MB)
提问by mr. Y
Is it possible to implement resumable and slice (chunked) upload for large sizefiles (>500MB) using HTML5 (BLOB API)?
是否可以使用 HTML5(BLOB API)为大文件(> 500MB)实现可恢复和切片(分块)上传?
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.
我尝试使用https://github.com/blueimp/jQuery-File-Upload。在文档中,它表示支持: 可恢复上传:可以使用支持 Blob API 的浏览器恢复中止的上传。分块上传:可以使用支持 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?
但它似乎试图在 RAM 中加载文件,甚至挂起我的系统。有没有人遇到过这样的问题,解决方法是什么?也许 HTML5 在这里不合适?