title: Download a .zip file from the command line
body: <p>I've been somewhat blindly trying lots of variations of <code>curl</code> and <code>wget</code> to try downloading some <code>.zip</code> files.  The first thing I tried was this:</p>
  
  <pre><code>curl --klo ".\bhcdata#1.zip" "https://www.chicagofed.org/applications/bhc_data/bhcdata_create_output.cfm?DYR=2011&amp;DQTR=[1-4]"
  </code></pre>
  
  <p>The command above is in fact provided <a href="http://www.chicagofed.org/webpages/banking/financial_institution_reports/bhc_data.cfm" rel="nofollow">in the documentation by the Chicago Fed</a>, and yet it throws error messages on my Ubuntu machine: <code>curl: option --klo: is unknown</code>.</p>
  
  <p>Is there a straightforward way to do this?</p>
  
  <p><strong>To clarify exactly what I'm trying to do:</strong>  The Chicago Fed <a href="https://www.chicagofed.org/applications/bhc_data/bhcdata_index.cfm" rel="nofollow">website</a> lets you enter a year and quarter, and you click "Download data file" and it gives you a .zip file of the corresponding data.  I want to do this for all quarters, so I need a way to write the command for each quarter so that I can loop over them.  The <code>[1-4]</code> in the example command above would grab all four quarters in one year, but I'd be fine with just getting one quarter at a time, and I've tried replacing <code>1</code> as well.  I've tried with and without various combinations of options, but nothing has worked yet.</p>