Skip to content

HTML5/AJAX file uploader capable of uploading very large files by splitting them into chunks

Notifications You must be signed in to change notification settings

foozzi/BigUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


BigUpload

version 1.0.1
Created by: Sean Thielen sean@p27.us


BigUpload is a tool for handling large file uploads (tested up to 2GB) through the browser.

Screenshot


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.

If you want to deploy this as-is, the variables you need to worry about are in the top of
* index.html (for js variables)
* inc/bigUpload.php (for the folder paths--make sure they're writable)

Please feel free to contribute!


v 1.0.1
*Added time remaining calculator
*Response from php script is now a json object, allowing for error processing
*Minor script changes and bugfixes
*Better comments

v 1.0.0
*Initial version

About

HTML5/AJAX file uploader capable of uploading very large files by splitting them into chunks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published