title: Download file from https url with authentication using wildcards
body: <p>I need to download an artifact from nexus repository using command line. The artifact file name is unknowm but the extension name is always <code>*.zip</code>. I am using the curl command with wildcard characters. When I execute the command it says <code>HTTP/1.1 404 Not Found</code></p>
  
  <p><code>curl --insecure  -O -u username:password -v https://nexus.internal.org.com/content/repositories/snapshots/com/org/artifact/1.4.0/*.zip</code></p>
  
  <pre><code>&gt; Accept: */*
  &gt;
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   0&lt; HTTP/1.1 404 Not Found
  &lt; Accept-Ranges: bytes
  &lt; Content-Type: text/html
  &lt; Date: Wed, 01 Mar 2017 22:28:35 GMT
  &lt; Server: Nexus/2.14.2-01
  &lt; X-Content-Type-Options: nosniff
  &lt; X-Frame-Options: SAMEORIGIN
  &lt; transfer-encoding: chunked
  &lt; Connection: keep-alive
  </code></pre>
  
  <p>The file is actually present in the URL location. Is the command I'm running alright?</p>