Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.7k views
in Java FTP by (120 points)
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

1 Answer

0 votes
by (162k points)
Do you know what kind of proxy server it is? Can you connect with Filezilla?

Categories

...