How do I delete a file with node.js?
http://nodejs.org/api/fs.html#fs_fs_rename_oldpath_newpath_callback
I don\'t see a remove command?
It's very easy with fs.
var fs = require('fs'); try{ var sourceUrls = "/sampleFolder/sampleFile.txt"; fs.unlinkSync(sourceUrls); }catch(err){ console.log(err); }