title: How to download an Object from AWS S3 Bucket with PHP?
body: <p>I know how do upload an object to Aws S3 Bucket like this:</p>
  
  <pre><code>try {
      $oClientAws-&gt;putObject(array(
          'Bucket' =&gt; 'bucket_test',
          'Key'    =&gt; 'fileName.jpg',
          'Body'   =&gt; fopen('path/to/file/fileName.jpg', 'r'),
          'ACL'    =&gt; 'public-read',
      ));            
  } 
  catch (Aws\Exception\S3Exception $e) {}
  </code></pre>
  
  <p>But i don't know how to download an object i can use $oClientAws->getObject(parms...) and change the content type of the header but this just show my file on the browser, but don't download the file.</p>
  
  <p>tks!</p>