Please note that this project is no longer being maintained, and has fallen quite a bit behind on modern standards. I might revisit it in the future, or if anyone would like to overhaul it feel free to send a PR/ask to take it over :)
Created by: Sean Thielen firstname.lastname@example.org
BigUpload: Uploading really big files in the browser
BigUpload is a tool for handling large file uploads (tested up to 2GB) through the browser.
It uses the HTML5 FileReader library to split large files into manageable chunks, and then sends these chunks to the server one at a time using an XmlHttpRequest.
The php script then pieces these chunks together into one large file.
Because the chunks are all the same size, it is easy to calculate an accurate progress bar and a fairly accurate time remaining variable.
This tool is capable of handling file uploads of up to 2GB in size, without the need to tweak the max_upload and timeout variables on your httpd.
This tool only works on Chrome and Firefox, but falls back to a normal file upload form on other browsers.
If you want to deploy this as-is, the variables you need to worry about are in the top of
And you need to be sure to make /BigUpload/files and /BigUpload/files/tmp writeable
Please feel free to contribute and use this in your projects!
- Option to pass additional parameters to the upload script
- Optional callback function on success
- Contributed by Matt (atomiku)
- Cleaned up the code quite a lot
- Added pause/resume functionality
- Added fallback for unsupported browsers
- Added time remaining calculator
- Response from php script is now a json object, allowing for error processing
- Minor script changes and bugfixes
- Better comments
- Initial version