title: How to upload several files at once to Google Drive using Google app script?
body: <p>I am trying to Upload several files at once to Google Drive using Google app script.
  I have created an upload.html page that contain - </p>
  
  <pre><code>    &lt;input type="file" name="myFile" id="file-select" multiple/&gt;
  </code></pre>
  
  <p>But I need to change more stuff in the JavaScript part either, and i got no idea what to change and i haven't find a documentation about the issue.</p>
  
  <p>I need to deal with each file separately in the 'Code.gs' file.</p>
  
  <p>For example:</p>
  
  <p>In the .gs file I got </p>
  
  <pre><code>    var file = form.myFile; 
  </code></pre>
  
  <p>But unfortunately this refers to the first file I uploaded and not to all of them. 
  How do i refer all of them?</p>
  
  <p>The question is still relevant. 
  Thanks in advance to anyone that can help!</p>