title: Why can't I download any files from BOX with cURL
body: <p>When I run the command below, it returns all of the expected data and information about the file. I am the owner of the file and can download it directly from the Box website</p>
  
  <p><code>curl https://api.box.com/2.0/files/1790744170/ -H "Authorization: BoxAuth api_key=API_KEY&amp;auth_token=AUTH_TOKEN"</code></p>
  
  <p>But this command (below),</p>
  
  <p><code>curl https://api.box.com/2.0/files/1790744170/data -H "Authorization: BoxAuth api_key=API_KEY&amp;auth_token=AUTH_TOKEN"</code></p>
  
  <p>Will return nothing, not even a HTTP error code, all curl does is sit for a second and go back to prompt. I tried <code>curl [etctera] &gt; testfile</code> and it popped up the little status bar and at the end all of the values were zero eg:</p>
  
  <pre><code>% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  </code></pre>