title: How to Upload file to Node.js using Ember Droplet?
body: <p>I'm using this interface for file uploads on my app:</p>
  
  <p><a href="https://github.com/Wildhoney/EmberDroplet" rel="nofollow">https://github.com/Wildhoney/EmberDroplet</a></p>
  
  <p>My app is running on Node.js and Ember is the client-side framework I am working with. I am also required to use Azure Storage service for storing files/images uploads. </p>
  
  <p>However, since I am very new to this concept-wise and tool-wise(Node and Ember, and therefore EmberDroplet), I do not understand how to upload a file through Ember Droplet, then send it to my Node server in order to upload it to Azure. </p>
  
  <p>I have installed the Azure-Storage package and tested it for uploads directly on Node.js. This works.</p>
  
  <p>I have integrated the Ember-Droplet mixin with my interface and it does take files dragged into it or selected via file input. </p>
  
  <p>I do not know how to connect these two: EmberDroplet has a function called uploadallfiles which seems to take the array of files provided as input and create an XHR object out of it, and before it returns its jQuery promise, it sends the XHR request along. </p>
  
  <p>My question is this: How do I set up my application so that when uploadallfiles is executed, my node.js server has access to them so that it can upload them to azure, then store a reference to it in the model the file is associated with?</p>
  
  <p>Follow up question is this: Azure's tutorial on using Azure with node shows how to take a locally stored file via it's filepath and then upload it to Blob Storage. However,</p>
  
  <ol>
  <li>Can client side applications send a local file path to the server and still have this work? I am under the impression that the server-side code has no access to client-side local storage.</li>
  <li>Can Azure upload using an XHR instead of a file path? </li>
  <li>Is there a specific format that the file needs to be in to be uploaded via azure-storage?</li>
  </ol>