Solution:
As discussed in Upload Files, for reliable transfer especially important with larger files, using Resumable upload is a good strategy to use for most applications, since it also works for smaller files at the cost of one additional HTTP request per upload.
Additionally, apps that use resumable upload need to have code to resume an interrupted upload. If an upload is interrupted, find out how much data was successfully received, and then resume the upload starting from that point which is one of the good advantages of this uploading type.
For more information and steps in using resumable upload, kindly try going through given documentations above.