title: Zend Framework 2 file download
body: <p>I made a form to upload files to the folder <code>./data/uploads</code> using the <code>Zend\Filter\File\RenameUpload</code> filter.</p>
  
  <p>This is working like a charm. My problem now is how do I provide this file to users download it?</p>
  
  <p>I think it would be something like:</p>
  
  <p><code>$response-&gt;setContent(file_get_contents('./data/uploads/file.png'));</code></p>
  
  <p>But I want to know what is the best way to do this.</p>