2015-11-16 25 views
1

我一直在我们的混合html应用程序中使用filetransfer插件,它同时支持widows 8.1和ios和android,但我也需要它在Windows 10商店应用程序。现在看来似乎无法下载文件在Windows 10,请建议一些替代插件从服务器下载文件,或者如果我们得到了10cordova-plugin-file-transfer插件无法在Windows 10上运行sencha touch store应用程序

下面的代码示例

在windows这项工作
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" 
} 
}); 
+0

is fileTransfer.download()给你一个回调? – Perfection

回答

0

首先它不是一个问题与Apache科多瓦或视觉工作室。这是Windows 10的网络设置。我所要做的就是重置我的Windows 10电脑的网络设置。

搜索“设置”。

单击 “网络和以太网”

点击 “状态”

点击 “网络重置”。

重新启动计算机。

请访问我的博客了解更多移动开发技巧。 http://guntucomputerhacks.blogspot.com.au/2017/01/file-transfer-plugin-not-working.html

+0

发现此问题的新原因。每当我遇到这个问题,我都会在小提琴手软件中开放季节。一旦我关闭提琴手,问题就消失了。 –

相关问题