title: A libcurl function was given a bad argument
body: <p>I have previously been able to upload .ipa files to the HockeyApp site, via their REST API (<a href="https://support.hockeyapp.net/kb/api/api-apps#upload-app" rel="nofollow noreferrer">https://support.hockeyapp.net/kb/api/api-apps#upload-app</a>).</p>
  
  <p>Now, when I attempt to upload:</p>
  
  <pre><code>curl -F "status=2" -F "notify=1" -F "notes=Testing." -F "notes_type=0" -F "ipa=@hockeyapp.ipa" -H "X-HockeyAppToken: [Token, removed]" https://rink.hockeyapp.net/api/2/apps/upload
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>curl: (43) A libcurl function was given a bad argument"
  </code></pre>
  
  <p>The file <code>hockeyapp.ipa</code> is present in the current working directory.</p>
  
  <p>I am on Mac OS X Sierra Version 10.12.3.</p>