I get this exception "android javax.net.ssl.SSLException: 502 AUTH TLS OK" on HUAWEI P8 smartphone but it works well on SAMSUNG Galaxy J3 smartphone
import org.apache.commons.net.ftp.FTPSClient;
FTPSClient mFTPClient = new FTPSClient("TLS", false);
mFTPClient.connect(sFTPServer,iFTPPort) => exception android javax.net.ssl.SSLException: 502 AUTH TLS OK
This command works with the SAMSUNG GALAXY J3 smartphone but does not work with the HUAWEI P8 smartphone: how can I solve it?