Hi,
I'm trying to create a custom FTP client using edtFTPj/free, to connect to a FTP Server that is locating behind a Proxy server. I used FTPClient.initSOCKS, and FTP.initSOCKSAuthentication, but no avail. I was able to connect to the FTP server, but when comes to Authenticate to Proxy server, I was not able to.
FTP.initSOCKS("21","proxyserver");
FTP.initSOCKSAuthentication("proxyID@proxyserver fireID","password");
this.client = new FTPClient();
this.client.setRemoteHost(this.host);
this.client.setRemotePort(this.port);
this.client.setTimeout((int)Delay.SLEEP_MINUTE * 2);
this.client.connect();
this.client.login(this.username, this.password);
Anyone with any suggestion would be great.
Thanks