title: Javascript to list all files in directory on the webserver
body: <p>I know how to do this in server side languages but I was wondering if there is an easy way (as in no active X).  Google searches only give me ways for javascript to list files from the user's computer.  </p>
  
  <p>How can I use javascript to list all files on the server.  That is, if I have a folder /gallary and there can be many sub-directors in there, /gallary/sports, /gallary/california, /gallary/christmas.  Each sub-directory contains n image.</p>
  
  <p>How can I get javascript to list all sub-directories as well as all the images.</p>