I am writing an application that involves using a server for
uploading / downloading data...
I am using the Jakarta Commons FTP, well, to be more precise, a
wrapper around it, found at:
well, my question is that my code used to work with the android sdk
version 3, but now that I am upgrading it to the new sdk, the
connectAndLogin function doesn't work, this is, it does not connect to
the host ( I am sure that the host, the name and the password are
this is the function:
public boolean connectAndLogin (String host, String userName, String
throws IOException, UnknownHostException,
boolean success = false;
int reply = getReplyCode();
success = login(userName, password);
when it calls connect(host), I can see at the adb logcat the following
"OSNetworkS unknown socket error -1"
has anybody come along this problem?
Thanks a lot!