上传大文件的最快方式 [英] Fastest way to upload big files

查看:213
本文介绍了上传大文件的最快方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经实现了fineuploader来上传文件而无需重新加载页面。问题是它非常慢并且可能因各种大文件(~300M)而失败。请注意,我只使用Fineuploader 3.1,但预计使用更新的版本不会有任何区别。

I've implemented fineuploader to upload a file without reloading the page. Problem is it is very slow and potentially fails for vary large files (~300M). Note that I am only using Fineuploader 3.1, but expect it will not make a difference to use a more current version.

我的问题是我是否应该使用某种排序基于Ajax的文件上传方法对于大型文件,但基于它们的大小可以回溯到一些更传统的重新加载页面的解决方案?使用网站而不是FTP等上传大文件的最快方法是什么?

My question is whether I shouldn't use some sort of Ajax based file upload approach at all for large files, but based on their size fall back to some more traditional solution which reloads the page? What would be the fastest way to upload a big file using a website and not FTP, etc?

推荐答案

你可以看看at:
Resumable.js 用JavaScript容错的可恢复文件上传

You could have a look at: Resumable.js Fault Tolerant Resumable File Uploads in JavaScript

据我所知,大文件容易出错,因此最好让它重新设置。

As far as I think large files are prone to fault so it is a good idea to make it ressumable.

这篇关于上传大文件的最快方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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