Filetransfer.download Cordova !!hot!! -

fileTransfer.onprogress = function(progressEvent) { if (progressEvent.lengthComputable) { var perc = Math.floor(progressEvent.loaded / progressEvent.total * 100); updateStatus(perc + "% loaded..."); } else { loadingStatus.increment(); } }; Use code with caution. 4. Troubleshooting Common Errors

Use cordova-plugin-file to create a file and write that Blob to the disk. filetransfer.download cordova

cordova plugin add cordova-plugin-file cordova plugin add cordova-plugin-file-transfer Use code with caution. 2. Understanding the Syntax The download method takes five primary arguments: : The URI of the server to download the file. fileTransfer