title: Write file stream during file upload - node.js & node-formidable
body: <p>Clients can upload files by using a Multi-part form post to my node.js application. To handle the file upload I'm using the node-formidable library. </p>
  
  <p>Now, I manage to upload the file in chunks to node but I don't want it to be buffered before it's written to disk. So, I'm trying to understand how I can write the file data chunks to disk when they're received. I don't fully understand the node-formidable api how to acheive. </p>
  
  <p>Can someone give a simple example of how to listen for an incoming file, create a file stream and then access the data coming in and write that data to the stream and finally closing the stream.</p>
  
  <p>Thanks for help!</p>