title: How can I determine whether the file was successfully downloaded from amazon s3 using boto3?
body: <p>The following downloads the file from s3 but how can I know whether the file was successfully downloaded? The <a href="https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3.html#S3.Bucket.download_file" rel="nofollow noreferrer">docs</a> were of no help in this.</p>
  
  <p>The code is:</p>
  
  <pre><code>download_file = self.bucket.download_file(kch_file_to_be_downloaded_key, destination_of_kch_file_to_be_downloaded)
  </code></pre>