Pages

Friday 8 February 2019

CelerFT - Uploading gigabit sized file in chunks with resume

CelerFT - Uploading gigabit sized file in chunks with resume


From time to time persons have reached out to me in relation to the Gigabit File upload articles, and one of  the things that I have been asked about is how to resume a file upload. In response to that question  I have been working on an update to the Gigabit File upload project and I have added it to my GitHub Repository,

This version is a complete rewrite of the Gigabit File upload project and the aim was to achieve the following:

  1. Rewrite the JavaScript code as an Immediately-Invoked Function Expressions (IIFE).
  2. Use nested web workers to handle the file uploads. If the browser does not support nested web workers then the subworkers.js polyfill can be used to meet this requirement.
  3. To be able to resume a file upload. Resuming an upload will not overwrite the file if it already exists.
  4. Provide complete samples of the back-end server code  in ASP.NET and Node.js