title: Download multiple files as a zip or in a folder using Javascript?
body: <p>Is it possible to download multiple files from an url into one created folder or as a zip?</p>
  <p>I currently download a file given a url like so:</p>
  <pre class="lang-js prettyprint-override"><code>var download_url = &quot;&quot;; 
  window.location.href = download_url;
  </code></pre>
  <p>If I were to have an array of urls, I could do something like...</p>
  <pre class="lang-none prettyprint-override"><code>for each url in urls
      window.location.href = url;
  </code></pre>
  <p>This works, but will lead to individual downloaded files in the downloads folder. This can be messy.</p>
  <p>Is it possible to create and specify which folder to download all of the files or convert all the downloaded files into a zip?</p>