I am (still) attempting to upload large files <200mb via a html form using php.
我仍在尝试使用php通过html表单上传<200mb的大文件。
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.
在我的研究过程中,我遇到了“组块”这个术语,我理解这个过程可以将文件分解成方便大小的大小,比如5mb,并将它们重新组合到服务器端的完整文件中。
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.
编辑补充:虽然下面的两个答案看起来是正确的,但这把我带入了一个我不能做设计师的领域……如果有人读到这篇文章能提出不同的方法,我会很感激。
1 个解决方案
#1
5
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.
Web浏览器不会将上传内容分割成块。为此,您必须使用自己的“分块”客户端:Flash程序或Java applet。
You can take a look at JUpload. There are also examples in the wiki.
你可以看看JUpload。维基中也有例子。
From SourceForge :
从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.
多文件上传Applet (JUpload)通过允许您通过单击一次上传整个目录和其中的文件来解决传统HTML上传表单的限制。可选的是,它允许简单的图片管理。
#1
5
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.
Web浏览器不会将上传内容分割成块。为此,您必须使用自己的“分块”客户端:Flash程序或Java applet。
You can take a look at JUpload. There are also examples in the wiki.
你可以看看JUpload。维基中也有例子。
From SourceForge :
从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.
多文件上传Applet (JUpload)通过允许您通过单击一次上传整个目录和其中的文件来解决传统HTML上传表单的限制。可选的是,它允许简单的图片管理。