title: Unable to download an existing file with wget and python http server
body: <p>so I mounted an http server with <code>python -m SimpleHTTPServer</code> I get:</p>
  <p><code>Serving HTTP on 0.0.0.0 port 8000 ...</code>
  But when I try to download with</p>
  <pre><code>wget http://192.168.100.65:8000/tmp/postgres_default_pass.txt
  </code></pre>
  <p>I got:</p>
  <pre><code>    192.168.100.74 - - [09/Sep/2020 23:32:30] code 404, message File not found
  192.168.100.74 - - [09/Sep/2020 23:32:30] &quot;GET /tmp/postgres_default_pass.txt HTTP/1.1&quot; 404 -
  </code></pre>
  <p>In the wget machine:</p>
  <pre><code>    Connecting to 192.168.100.65:8000... connected.
  HTTP request sent, awaiting response... 404 File not found
  2020-09-09 23:32:31 ERROR 404: File not found.
  </code></pre>
  <p>But the file exists, doing an ls I can find the file.</p>
  <pre><code> ls
  hsperfdata_kali
  postgres_default_pass.txt
  sqlmaprgl22hl623598
  </code></pre>