 <p>To upload large binary files using CURL you'll need to use <code>--data-binary</code> flag. </p> <p>In my case it was: </p> <pre><code> curl -X PUT --data-binary @big-file.iso https://example.com </code></pre> <p><strong>Note:</strong> this is really an extended version of @KarlC comment, which actually is the proper answer. </p>