title: How can I get download file from this site using wget or curl?
body: <p>I wanna get excel files from <a href="http://eng.krx.co.kr/por_eng/m2/m2_1/m2_1_3/JHPENG02001_03.jsp?isu_cd=A005930" rel="nofollow">http://eng.krx.co.kr/por_eng/m2/m2_1/m2_1_3/JHPENG02001_03.jsp?isu_cd=A005930</a> (Korea Stock Exchage) using wget or curl.</p>
  
  <p>The form tag in this site is like below.</p>
  
  <pre><code>&lt;div class="board"&gt;
  
  &lt;h3 class="item"&gt;&lt;/h3&gt;
  &lt;!--
  
   search 
  
  --&gt;
  &lt;div class="search"&gt;
      &lt;form id="exKrx" onsubmit="return doSearch();" method="post" action="/por_eng/corelogic/process/m2/m2_1/m2_1_3/hpeng02001_03_01.xhtml?data-only=true" name="exKrx"&gt;
          &lt;fieldset&gt;
              &lt;legend class="dpn"&gt;&lt;/legend&gt;
              &lt;table summary="searching by conditions"&gt;&lt;/table&gt;
              &lt;!--
  
               body_head_btn 
  
              --&gt;
              &lt;div class="body_head_btn"&gt;
                  &lt;input class="image" type="image" onclick="doSearch(); return false;" alt="search" src="http://inc.krx.co.kr/image/eng/cm/btn/bt1ask.gif"&gt;&lt;/input&gt;
                  &lt;a title="Download" onclick="doExcel(); return false;" href="button.jsp"&gt;
                      &lt;img alt="Download" src="http://inc.krx.co.kr/image/eng/cm/btn/bt1download.gif"&gt;&lt;/img&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
              &lt;div class="infomenu"&gt;&lt;/div&gt;
              &lt;!--
  
               //body_head_btn 
  
              --&gt;
          &lt;/fieldset&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried something like this, but failed.</p>
  
  <pre><code>wget -o ~/download/test.xls --post-data="se_key=TSIM5w+jLsm9LGMF0U4q1Q==" http://eng.krx.co.kr/por_kor/corelogic/process/m2/m2_1/m2_1_4/hpkor02001_04.xhtml?data-only=true
  </code></pre>
  
  <p>How can I solve this problem??</p>