I get this error after i have set INTERNET_ACCESS and etc...
private class AsyncUpload extends AsyncTask{
public void f
Unknown host exception means either you are missing internet permission or you are not connected to internet Or may be your ftp url is wrong.
con.connect("ftp.194.90.81.149"); //here i recieve exception //the exception is java.unknownhostexception //java.net.UnknownHostException: Unable to resolve host "ftp.194.90.81.149": No address associated with hostname
The fact that you're receiving an UnknownHostException means that ftp.194.90.81.149 isn't a real hostname in DNS. I'd suspect that the numeric part of that is what you really want. I.e, try changing that line to
con.connect("194.90.81.149");