title: File manipulations such as Read/Write local files using Javascript without server
body: <p>I'm just trying on the task, file manipulation system using java script. As I was referred from W3C File API( <a href="https://www.w3.org/TR/FileAPI/" rel="nofollow noreferrer">https://www.w3.org/TR/FileAPI/</a> ), we can only read local files like </p>
  
  <pre><code>var file = "test.txt";
  function readTextFile(file) {
     var readFile;    
     if(window.XMLHttpRequest){
        // for new browsers
        readFile = new XMLHttpRequest();
     }else{
        //for old browsers like IE5 or IE6
        readFile = new ActiveXObject("Microsoft.XMLHTTP");
     }    
     readFile.open("GET", file, true);
     readFile.onreadystatechange = function() {
        if(readFile.readyState === 4) {
           if(readFile.status === 200 || readFile.status == 0) {
              //text will be displayed that read from the file
              console.log(readFile.responseText);
           }
        }
     }
     readFile.send(null);
  }
  </code></pre>
  
  <p>but it looks there is no options to write on file without server. I was tried to fetch solutions from the websites like <a href="http://www.stackoverflow.com/">http://www.stackoverflow.com/</a>, the study says almost there is no possibilities.</p>
  
  <p>For an example what I got is</p>
  
  <p>from <a href="https://gist.github.com/Arahnoid/9925725" rel="nofollow noreferrer">https://gist.github.com/Arahnoid/9925725</a></p>
  
  <p>It shows error "TypeError: file.open is not a function."</p>
  
  <p>So my question is, <strong>Is there any possible to file manipulations(asking only about Write file) for local files without using server-side scripting or is any extensions like available?</strong></p>
  
  <p>We can do file manipulations using server scripting languages such as PHP, Node.js.</p>
  
  <p>Thanks in advance.</p>