HTML5

Upload large file slices


Generally, the upload limit of a single file on a server is basically a few

MB

However, we often encounter the uploading of large files in our work. How to effectively break through the limitation of uploading large files is worth further discussion. This paper provides a large file slice upload technology scheme is studied on the network after all kinds of technology selected scheme, he is simple and reliable, easy to implement.

HTML5

Uploading large file slices involves three files, which are the front-end page for sending slice files
upload.html
, used to receive slice files
upload.php
And used to merge slices after receiving
merge.php
. Cut the crap and serve!

upload.html:
upload.php:
merge.php:
After testing, uploading files at 1 GB is also ok.