HTTP 文件上传组件 - CRC 和恢复功能 - 我有哪些替代方案?
我希望将大文件(40GB 以上)上传到我的服务器,该服务器可能是 PHP 或 ASP.Net。我正在寻找至少 CRC 和恢复支持 - 我想知道我的文件是否正确,并且我希望能够恢复之前中断的上传。
这应该非常容易实现 - 只需使用 java applet 客户端将文件分段,计算 CRC,将每个段与 CRC 和一个位置一起发送到服务器,这样当我拥有所有部分文件时,我可以将其压缩在一起。
另外,我也许可以使用 java applet FTP 客户端来实现这一点,该客户端上传到我的服务器,这可能是更符合标准的方式。
然而,即使我的开发手指痒痒地渴望实现这一点,我也必须从管理/有效性的角度来考虑它。所以现在我问你:
是否有任何很好的替代方案已经支持我的需求?我用谷歌搜索并找到 http://upload.thinfile.com/features.php 和 < a href="http://radinks.com/upload/features.php" rel="nofollow">http://radinks.com/upload/features.php
两种解决方案都没有提及有关 CRC 或文件有效性的信息检查。另外,我对演示并没有留下深刻的印象 - 这让我怀疑这些供应商。
您有什么建议吗?
最好的问候,马克斯
I am looking to upload large files - 40gb+ - to my server, which might be either PHP or ASP.Net. I'm looking for atleast CRC and resume support - I want to know that my file is correct and I want to be able to resume an upload that has been previously disrupted.
This should be pretty straightforward to implement - Simply use a java applet client side to chunk up the file in segments, calculate CRC, ship each segment to server together with the CRC and a position so I can zip it together when I have all partial files.
Also, I could perhaps implement this using a java applet FTP client, which uploads to my server, which might be the more standards compliant way.
HOWEVER, even if my development fingers itch with eagerness to implement this, I have to think about it from a management/effectiveness perspective. So now I am asking you:
Are there any great alternatives out there that already supports what I need? I've googled and found http://upload.thinfile.com/features.php and http://radinks.com/upload/features.php
Neither solution says anything about CRC or file validity checking. Also, I'm not really impressed by the presentation - which leads me to doubt these vendors.
Do you have any suggestions?
Best regards, Max
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我几个月前制作的演示: http://dnduploader.filkor.org/
如您所见,这是可能的仅使用 Javascript 进行可断点续传的文件上传。您可以在 Github 上找到该页面的源代码..享受吧。
因为我们将文件分割成小“数据包”(我们一次只上传一个小“数据包”),所以您甚至不需要更改 php.ini 设置。当所有数据包上传后,服务器将合并它们(这只是一些CPU)
当然它需要新的Javascript File API(最新的Chrome,Firefox,似乎IE10部分支持),但我确信这会是上传大文件的不久的将来。
Demo I made several months ago: http://dnduploader.filkor.org/
As you can see, it's possible to do resumable file uploading with only Javascript. You will find the source of that page on Github..enjoy.
Because we slicing up the files into little 'packets' (we only upload a little 'packet' at a time) so you don't even need to change the php.ini settings. When all the packets are uploaded, the server will merge them (which is only some CPU)
Of course it needs the new Javascript File API (latest Chrome, Firefox, and it seems IE10 partially supported), but I'm sure this will be the near future of uploading large files.
你看过Flash的实现吗?我注意到几个基于 Flash 的上传实现,带有进度条和恢复。我自己没有检查它们,尽管我有与你类似的任务。不幸的是,Applet 和 Flash 都不是我的选择,因为我的客户端不允许在浏览器上安装任何附加组件,并且仍然需要校验和验证和恢复。
Did you look in Flash implementation? I noticed several Flash based upload implementations with progress bar and resume. I didn't check them myself, although I have a similar to your task. Unfortunately neither Applet, not Flash is my options, since my client doesn't allow to install any add-ons on browser and still requires checksum validation and resume.