I have been successful in uploading a file using the FileTransfer.upload() command to upload a file to a server. I have not been able to get the download command to work. Here is my code:
The example on the Apache Cordova website seems very straight forward, but I seem to be missing something obvious.
var fileTransfer = new FileTransfer(),
uri = encodeURI('myURI');
console.log("download complete: " + entry.fullPath);
console.log("download error source " + error.source);
console.log("download error target " + error.target);
console.log("upload error code" + error.code);