title: How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
body: <p>There is an online HTTP directory that I have access to. I have tried to download all sub-directories and files via <code>wget</code>. But, the problem is that when <code>wget</code> downloads sub-directories it downloads the <code>index.html</code> file which contains the list of files in that directory without downloading the files themselves.</p>
  
  <p>Is there a way to download the sub-directories and files without depth limit (as if the directory I want to download is just a folder which I want to copy to my computer).</p>
  
  <p><img src="https://i.stack.imgur.com/uNOuS.png" alt="online HTTP directory"></p>