Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File uploads; How to utilize "chunking"?

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.

like image 262
Ar77 Avatar asked Jun 16 '11 17:06

Ar77


Video Answer


1 Answers

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.

like image 134
user703016 Avatar answered Sep 20 '22 05:09

user703016