title: GitLab CI-Build Artifacts command line download
body: <p>GitLab version - 11.8.1 and trying to download the CI-Build artifacts zip file on terminal of Ubuntu -14.04-LTS system.</p>
  
  <p>Using below command </p>
  
  <pre><code>curl -XGET --header "PRIVATE-TOKEN:avxa_afdfouqernadfg" -o artifacts.zip https://gitlab.com/api/v4/projects/78/builds/artifacts/master/download?job=ci-build
  </code></pre>
  
  <p>command completed successfully, but while unzipping the artifacts.zip file getting below error.</p>
  
  <pre><code>Archive:  artifacts.zip
    End-of-central-directory signature not found.  Either this file is not
    a zipfile, or it constitutes one disk of a multi-part archive.  In the
    latter case the central directory and zipfile comment will be found on
    the last disk(s) of this archive.
  unzip:  cannot find zipfile directory in one of artifacts.zip or
          artifacts.zip.zip, and cannot find artifacts.zip.ZIP, period.
  </code></pre>