能够恢复文件上传(最好在Ruby on Rails中) [英] File upload with the ability to resume (preferably in Ruby on Rails)

查看:175
本文介绍了能够恢复文件上传(最好在Ruby on Rails中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有这些都是一个相当困难的话题。我正在建立一个网站,要求用户上传大量(多GB)。什么是最好的方式允许用户上传文件在网站上,并允许文件上传恢复失败?什么是写在轨道上的这种方式?



任何想法非常赞赏。



最大。

解决方案

没有浏览器支持恢复上传。

从我的谷歌搜索,虽然我不太了解Java,但说这是不可能的,似乎没有任何支持的预滚动上传解决方案这个方法。

简而言之,您将不得不编写自己的浏览器/插件解决方案。如果这是不可行的,你可能不得不放弃这个功能。对不起!



编辑:其实,使用更好的搜索查询后,这里是一个Java解决方案似乎支持通过分区的初始文件: JumpLoader 。以下是文档页面,用于恢复下载。祝你好运! (你会注意到,有购买链接 - 这只是一个非品牌的版本和源代码,你可以免费使用JumpLoader品牌版本。)


this is quite a difficult topic by all accounts. I am building a website that requires users to upload large (multi-GB). What is the best way allow users to upload a file on a website and allow the file upload to be resumed should it fail? What is the way to write this in rails?

Any ideas greatly appreciated.

Max.

解决方案

No browsers support resuming uploads.

From my Googling, Flash doesn't seem to, either.

Though I don't know enough about Java to say it's impossible, there don't seem to be any pre-rolled upload solutions that support this method.

In short, you would have to code your own out-of-browser/plugin solution. If that is not feasible, you may have to abandon this feature. Sorry!

EDIT: Actually, after using a better search query, here's a Java solution that seems to support this through partitioning the initial file: JumpLoader. Here is the documentation page for resuming downloads. Best of luck! (You will note that there are purchase links - this is only for an unbranded version, and for the source code. You can use the JumpLoader branded version for free.)

这篇关于能够恢复文件上传(最好在Ruby on Rails中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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