title: Download a file programmatically
body: <p>I have a Google Sheets application that generates a file that needs to be uploaded to the HMRC Government Network. They only accept an open document format (<code>.ods</code>) in a file originally formatted and generated by HMRC.</p>
  
  <p>The only way I can currently do this is to manually download the data into my PC as an <code>.ods</code> file. I had hoped to be able to directly upload to HMRC a file that is in my <code>Google File Drive Stream</code> which I had thought would be a real file but it turns out not to be so! HMRC will not look at it.</p>
  
  <p>So has anyone any idea whether <code>DriveApp</code> or any other Google Apps Script method can download the file, as you can do manually?</p>