android - Sending file to ftp server? -


i coding send file on ftp server, giving error.

private void connecttoftpaddress() {        pd = progressdialog.show(upload_download.this, "", "connecting...",                 true, false);          new thread(new runnable() {            public void run() {                 boolean status = false;                 status = ftpclient.ftpconnect("xxx.xxx.xxx.x","xxxxxx","xxxxxx", xx);                  if (status == true) {                     log.d(tag, "connection success");                       f1.wait_wind("connection success", getapplicationcontext());                     handler.sendemptymessage(0);                  } else {                     log.d(tag, "connection failed");                     handler.sendemptymessage(-1);                  }             }          }).start();     } 


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -