1

I have already asked on javascript/flash libraries for upload, which can make upload of larger files comfortable. However, there are limits which can disable the upload of larger files (PHP settings like upload_max_filesize, post_max_size, max_input_time etc.), which are sometimes given by your hosting provider.

Are there any libraries that can chunk (split) the file automatically before upload?

EDIT: found a note in another question: "So if you need to send truly large file I would say multiple posts with "transfer-encoding: chunked" (i.e chunked upload) is the way to go."

Community
  • 1
  • 1
Tomas
  • 57,621
  • 49
  • 238
  • 373
  • another similar questions [here](http://stackoverflow.com/questions/8891514/javascript-based-library-to-file-chunking-and-file-upload-with-rest-service) and [here](http://stackoverflow.com/questions/4099929/splitting-a-file-before-upload). – Tomas Jan 23 '12 at 13:24

3 Answers3

1

jClientUpload can do the trick.

A T
  • 13,008
  • 21
  • 97
  • 158
  • thanks, but where are downloads, releases etc.? I had to download it from [SoftPedia](http://webscripts.softpedia.com/dyn-postdownload.php?p=38192&t=0&i=1)... also cannot find licence information, on some download pages it shows that the licence is not free ("shareware" or "free trial") – Tomas Jan 23 '12 at 12:59
1

According to another answer here, plupload can do it.

Community
  • 1
  • 1
Tomas
  • 57,621
  • 49
  • 238
  • 373
1

Not sure if this will help or not. But here is a post I wrote up about using / customizing Plupload. My example also uses the chunking feature of Plupload.

In the post is a link to my example code of it running and chunking files.

http://www.foliotek.com/devblog/plupload-custom-file-upload-ui/

bigamil
  • 657
  • 4
  • 12
  • Looks very good, thanks! Any such example is good, I'm just starting to use plupload. – Tomas Jan 24 '12 at 23:04
  • Okay cool feel free to email me or comment on the post if you have any more questions! – bigamil Jan 25 '12 at 14:19
  • Bigamil, thanks - I started to looking at the examples but I have problem from the beginning - [the flash plugin crashes](http://stackoverflow.com/questions/9009790/plupload-flash-crashes-when-clicking-on-add-files)! Any thoughts? – Tomas Jan 25 '12 at 20:31
  • bigamil, no, the very example at http://plupload.com/ is crashing! I reported it as a separate question, see the link I posted in the comment above. – Tomas Feb 01 '12 at 09:15
  • bigamil, if you would read the link I posted in my 3rd comment you'd see I already reported it... :-) Well, let's clean up this discussion and delete all comments since yesterday (leave only first 3 comments) - I'll delete my last 2 comments if you do the same. – Tomas Feb 01 '12 at 22:14