In this NodeJS - Express - MongoDB website, I sent AJAX requests. Therefore, I can send my own requests without getting the page reloading and I handle the response manually in my browser-side code.
The 'err' you get back from a filesystem error is already an Error object, and will need to be handled by your server in some way. Lets say, I know the url of the ...