Problem with FTP on Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Problem with FTP on Android
hi, I have an APP that needs to download a file locally from an ftp server. Currently the app works correctly on IOS and I have no problems with ftp. I brought the app to android, but connecting to the same ftp server with the same commands (libURLDownloadToFile) I get the error: "java . io . IOexception: Unable to connect to server: Unable to configure data port". I tried to change ftp server but the error is still the same. The livecode version I am currently using is 9 . 6 .1 . Thank you very much for helping
-
- Posts: 652
- Joined: Tue Jul 29, 2014 12:52 am
Re: Problem with FTP on Android
Hi @Marco_X, I do use FTP on both iPhone and Android but instead of libURLDownloadToFile I use tsNetUploadSync (I actually never did downloads but I'd bet it will work fine). Maybe you could try it as an alternative unless there is some specific reason why you want to use libURLDownloadToFile,
Good luck
Good luck
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: Problem with FTP on Android
Thanks Simon, I'll try your method. Thanks again.