Resumable upload

Implementation of a chunked file upload.