文件上传;如何利用“分块”? [英] File uploads; How to utilize "chunking"?

查看:229
本文介绍了文件上传;如何利用“分块”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的研究过程中,我遇到了一个术语我知道这个过程可以将文件分解为5mb等便捷的大小,并将它们重新组装成服务器端的完整文件。



我的问题似乎是我可以从哪里开始?我似乎无法通过Google搜索找到正确的资源(或者,也许我不知道要搜索哪些条款)。

所以我今天希望是一个用基础来教育我自己的机会,一个看起来很有帮助的方向。我不想下载插件或类似的东西,我宁愿通过实验学习。


编辑添加: 虽然下面的两个答案看起来是正确的,但这将我带入了我不能作为设计师所做的事情......如果有人读到这个可以建议一个不同的方法,我将不胜感激



解决方案

块。为此,您必须使用自己的分块客户端:一个Flash程序或一个Java applet。

你可以看看 JUpload 。在wiki中也有例子。


来自SourceForge

多文件上传小程序(JUpload)通过允许您只需点击一下就可以上传整个目录及其中的文件,从而解决了传统HTML上传表单造成的限制。或者,它允许简单的图片管理。



I am (still) attempting to upload large files <200mb via a html form using php.

During my research into this I have come across the term "chunking", I understand that this process can break the file into handy sizes such as 5mb and reassemble them into the full file at the server side.

My problem seems to be where I can begin? I seem unable to find the correct resources by googling (Or perhaps I'm suffering from not knowing which terms to search for).

So what I'm hoping for today is a chance to educate myself with the basics, a direction in which to look would be very helpful. I don't really want to download a plug-in or anything like that, I would prefer to learn by experimentation.

EDIT to add: Although the two answers below would appear to be correct, this takes me into the realm of stuff that I can't do as a designer...If anyone reading this can suggest a different approach I would appreciate it.

解决方案

Web browsers do not split uploads into chunks. For this you'll have to use your own "chunking" client: a Flash program or a Java applet.

You can take a look at JUpload. There are also examples in the wiki.

From SourceForge :

Multiple File Upload Applet (JUpload) takes care of the limitation posed by traditional HTML upload forms by allowing you to upload a whole directory and the files within it with a single click. Optionally, it allows simple picture management.

这篇关于文件上传;如何利用“分块”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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