title: I need to call mongoexport remotely and get the result from node.js
body: <p>I'm not sure how to go about this, I need to export a mongodb collection as an .csv. Calling mongoexport with spawn.child_process in node will accomplish this but my mongodb server and node server are currently on separate machines. </p>
  
  <p>How can I remotely call mongoexport on my mongo server from my node server and then get the .csv to the node server?</p>