title: Does s3 upload using boto3 take care of verifying file upload and what happens in case of partial upload
body: <p>I am using boto3 for uploading files into s3 buckets using <code>boto3.client. upload_file()</code>.</p>
  
  <p>I had the following questions regarding this:</p>
  
  <ol>
  <li><p>How does it handle the case where upload fails mid way due to network (does it upload only partial data or does it dosen't upload anything)?</p></li>
  <li><p>Also does this function call verify the integrity of the file and check for data corruption or do I need to handle this case separately?</p></li>
  </ol>