title: Javascript: Listing File and Folder Structure
body: <p>As I have read, it is not easy for JavaScript to modify files on client PC. I am working on a web based file manager and would need to know the following:</p>
  
  <ul>
  <li>Can JavaScript list files and folder structure on a client PC?</li>
  <li>Can JavaScript list files and folder structure on a server?</li>
  </ul>
  
  <p>If your answer is no, that Java Scipt can not list files and folders say on client's or server's C:\ drive, than would CGI script be the only solution?</p>