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
Post a Comment