In this article I will describe how to upload files using Lien and Formidable, after creating a NodeJS HTTP server.
Lien is a tiny high-level framework for creating HTTP servers, being one of the libraries which power Bloggify.
Formidable is a NodeJS module for parsing form data and file uploads. We will use it to create a file upload interface in a Lien server.
First of all, create the directory structure: