title: question regarding automatically generated html code while displaying files and folders
body: <p>Is it possible to scan a generated "index of" html site that displays all the files and folders?</p>
  
  <p>For example if I enter a local web server address in a web browser i get the following generated html site</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"&gt;
  &lt;html&gt;
   &lt;head&gt;
    &lt;title&gt;Index of /component_test/TEST/ndpgsn_5_0&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
  &lt;h1&gt;Index of /component_test/TEST/ndpgsn_5_0&lt;/h1&gt;
  &lt;ul&gt;&lt;li&gt;&lt;a href="/component_test/TEST/"&gt; Parent Directory&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="CXS101289_LLVGREY_ATM452_2_06_P16A01_101209134111/"&gt; CXS101289_LLVGREY_ATM452_2_06_P16A01_101209134111/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="CXS101289_LLVGREY_ATM452_2_06_P16A01_101213085154/"&gt; CXS101289_LLVGREY_ATM452_2_06_P16A01_101213085154/&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="CXS101289_LLVGREY_ATM452_2_06_P16A01_110111180811/"&gt; CXS101289_LLVGREY_ATM452_2_06_P16A01_110111180811/&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>can I access this generated html site, so that if I push a link, that a script is automatically runned, is this possible and how would I do it?</p>
  
  <p>If this is <strong>not</strong> possible, can i make a script that scans the current file level what files that are there and then write them out so that the result will be the above code?</p>
  
  <p>Thanks in advance</p>