我正在使用 Sencha Touch 2.4 和 Cordova 开发混合应用程序。需要从 ftp 服务器下载文件,但我找不到任何适用于 Android 和 ios 的插件。
我尝试使用 Cordova 在 appInBrowser 中打开 FTP URL,但我无法找到网页(可能是 WebView 不支持 FTP?)。相同的 URL 在桌面浏览器中有效。
cordova.InAppBrowser.open('ftp://xxxx:xxxx@support.xxxx.com/xxxx/xxx/xxx.ipa', '_blank');
最佳答案
有链接here对于 iOS。
以及 Android 的链接.
快速谷歌搜索似乎有许多教程可用,我建议遵循其中的一些:
androidtrainningcenter.blogspot.co.uk/2014/02/android-ftp-client-tutorial-with.html
java-samples.com/showtutorial.php?tutorialid=1223
祝你好运!
关于android - 混合应用程序中的 FTP 文件下载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29343550/