title: Upload a blob with Phonegap FileTransfer - and receive binary
body: <p>I want to upload some binary data (e.g. image, or zip) to a server using phonegap, and receive binary as the response. Is it possible?
  While the upload works very well with the <code>FileTransfer</code> and a file stored on the disk, I cant get it to work with a blob</p>
  
  <pre><code>var blob = new Blob([something], {type: 'application/zip'});
  var blobUrl = window.URL.createObjectURL(blob);
  var ft = new FileTransfer();
  ft.upload(blobURL, encodeURI('http://server'), win, fail, options);
  </code></pre>
  
  <p>the blobURL of course is something like</p>
  
  <pre><code>blob:1234-...
  </code></pre>
  
  <p>which FileTransfer does not find. I tried to save the blob first, passing its path to <code>FileTransfer</code> - but Phonegaps <code>FileWriter</code> cannot process a <code>blob</code>.</p>
  
  <p>Using <code>xhr</code> is not an option as you cannot receive binary files with it in Phonegap (WP8). The <code>Mimetypeoverride</code> Trick does not work in this case as Internet Explorers xhr does not have this option.</p>
  
  <p>I am working with Windows Phone 8.</p>