AWS BOTO3 S3 python - An error occurred (404) when calling the HeadObject operation: Not Found : <p>I am trying download a directory inside s3 bucket. I am trying to use transfer to download a directory from S3 bucket but I am getting an error as "An error occurred (404) when calling the HeadObject operation: Not Found". Please help.</p>

<pre><code>S3 structure:
  **Bucket
     Folder1
        File1**
</code></pre>

<p>Note: Trying to download Folder1</p>

<pre><code>transfer.download_file(self.bucket_name, self.dir_name, self.file_dir + self.dir_name)
</code></pre>
