Realize resumable upload.