I have been using filetransfer plugin in our hybrid html app and it supports both widows 8.1 and ios and android but I also need it to work in Windows 10 store app. It seems like it cannot download file in windows 10 please suggest some alternative plugin to download files from server or if we got this work in windows 10
sample code below
var fileTransfer = new FileTransfer();
var uri = encodeURI("some_url.com");
var fileName = "localpathofwindows"
fileTransfer.download(uri, fileName,
function(entry) {
console.log("file download success");
},
function(error) {
console.log("file download failure");
},
false, {
headers: {
"Authorization": auth,
"action": "getFiles"
}
});
First of all it is not a problem with apache cordova or visual studio. It's windows 10 network settings. All I had to do is reset network settings of my windows 10 computer.
Search "Settings".
Click on "Network and Ethernet"
Click on "Status"
Click on "Network Reset" .
Restart your computer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.