nodejs: Where is image upload stored?

I did a tutorial for nodejs image upload.

Question: Where does nodejs store the uploaded image?

I work locally mit localhost:8888 (I'm new to nodejs and programing)

requestHandler.upload = function( response, request ) {
console.log( "Request for 'upload' is called." );

var form    = new formidable.IncomingForm();

console.log( "Preparing upload" );


form.parse( request, function( error, fields, files ){
    console.log( "Completed Parsing" );

    if( error ){
        response.writeHead( 500, { "Content-Type" : "text/plain" } );
        response.end( "CRAP! " + error + "\n" );
        return;
    }
console.log("the path is: " +files.upload.path);

    fs.renameSync( files.upload.path, "/tmp/" + files.upload.name );

    response.writeHead( 200, { "Content-Type" : "text/html" } );
    response.write( "received image <br />" );
    response.end( "<img src='/show?i=" + files.upload.name + "' />" );

   });
};

Well, Node.js (the platform) doesn't store the files anywhere. The body of the request is simply received as Buffers of 'data'.

formidable does, though. It scans and parses the request 'data' for you and saves any multipart "files" within form.uploadDir:

form.uploadDir = process.env.TMP || process.env.TMPDIR || process.env.TEMP || '/tmp' || process.cwd();

The directory for placing file uploads in. You can move them later on using fs.rename(). The default directory is picked at module load time depending on the first existing directory from those listed above.

It is stored in the tempory files of my windows system.