I have no idea of how to download a file using a C# web service.
Please help me with the following C# code.
var fileTransfer = new FileTransfer();
var uri = encodeURI("http://some.server.com/File.docx");
fileTransfer.download(
uri,
downloadPath,
function(entry) {
console.log("Download compelete: " + entry.fullPath);
},
function(error) {
console.log("Download error source " + error.source);
console.log("Download error target " + error.target);
console.log("Upload error code" + error.code);
},
false
);
But I don't want to give a URL like this. I want to download through Webservice. Is it possible?