R Rafa Narciso New Member Sep 18, 2015 #1 Is there any problem testing an ftp connection on a simulator? I can't seem to get a connection and I dont know whether it's because I am doing something wrong in code or whether I just need to use an actual device. If anybody has done an FTP connection on a simulator, I will then post my code and see what I am doing wrong.
Is there any problem testing an ftp connection on a simulator? I can't seem to get a connection and I dont know whether it's because I am doing something wrong in code or whether I just need to use an actual device. If anybody has done an FTP connection on a simulator, I will then post my code and see what I am doing wrong.
DonManfred Expert Licensed User Longtime User Sep 18, 2015 #2 Without seeing your code we just can guess what you did and how. You need to have access to an ftp-server to test. there is no ftpserver running on the android emulator. Upvote 0
Without seeing your code we just can guess what you did and how. You need to have access to an ftp-server to test. there is no ftpserver running on the android emulator.
R Rafa Narciso New Member Sep 18, 2015 #3 I meant connecting to an outside FTP server that I have access to. I changed into passive mode and it started to work, would you happen to know why that would make a difference? Upvote 0
I meant connecting to an outside FTP server that I have access to. I changed into passive mode and it started to work, would you happen to know why that would make a difference?
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2015 #4 You should use passive mode. It will work better on the device as well. Active mode requires the firewall to understand the FTP protocol and allow the incoming connection. http://slacksite.com/other/ftp.html Upvote 0
You should use passive mode. It will work better on the device as well. Active mode requires the firewall to understand the FTP protocol and allow the incoming connection. http://slacksite.com/other/ftp.html