title: Javascript: Save uploaded file
body: <p>I would like to save uploaded file using javascript, in my linux server. The code I wrote is:</p>
  
  <pre><code>if (uploadInput.files.length == 0) {
              console.log("No file is uploaded. ");
      } else {
              console.log("File uploaded.");
              var file = uploadInput.files[0];                
              }
  </code></pre>
  
  <p>Now I would like to save that file as "files/upload.csv". Can anyone please advise, how can I do it?</p>
  
  <p>Thanks in advance</p>