title: How to get a list of available files using wget or curl?
body: <p>I'd like to know if it's possible to do an <code>ls</code> of a URL, so I can see what *.js files are available in a website, for example. Something like:</p>
  
  <pre><code>wget --list-files -A.js stackoverflow.com
  </code></pre>
  
  <p>and get</p>
  
  <pre><code>ajax/libs/jquery/1.7.1/jquery.min.js
  js/full.js
  js/stub.js
  ...
  </code></pre>