CelerFT is a file upload tool that allows you to upload up to 5 files at a time to a web server. CelerFT uses the HTML5 File API to split the file into chunks and then uploads each chunk to the web server. Once the all of the chunks are uploaded a merge request is sent to the web server to assemble the chunks into the file. On the completion of the merge request the MD5 checksum is generated for the uploaded file and the local file.
Web servers have a maximum file upload size and CelerFT is able to get around this by splitting the file into chunks and uploading each of the chunks to the web server. This allows CelerFT to support the uploading of Gigabit sized files.
CelerFT supports the resuming of a file upload and also supports the simultaneuos uploading of several file chunks.
CelerFT is added to your application by adding the celerft.js module to your web page as shown in the following example:
<script src="Scripts/jquery-2.1.1.min.js"></script> <script src="Scripts/subworkers.js"></script> <script src="Scripts/celerft.js"></script>
Once the celerft.js module is added to the web page CelerFT is activated in the page by creating a new CelerFT object and passing an options object to it. The options object should contain the id of all the UI controls that CelerFT needs to interact with. This includes the upload and resume buttons and the file control. The urls for the backend services should be passed to CelerFT in the options object as well.
CelerFT web server backends examples are provided in Node.JS and the ASP .NET Web API.
CelerFT requires JQuery and the SparkMD5 library.