title: How to download protected files from onedrive using WGET
body: <p>I need to download an excel spreadsheet from Onedrive shared location to our unix server using WGET or CURL. I am able to download an un-protected link without issues:</p>
  <pre><code>wget &quot;https://...&amp;download=1&quot;
  </code></pre>
  <p>but I would prefer to have the file protected, either by password or by allowing access only to people in our company.</p>
  <p>The issue is, I am unable to download such protected file using WGET, the --password option is not accepted:</p>
  <pre><code>wget --password=abc &quot;https://...&amp;download=1&quot;
  </code></pre>