Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
8.8k views
in Java FTP by (500 points)
Hello,

First excuse my english, i'm french and i don't speak a really good english :)

So I use edtFTPj on a applet, and i need to connect to my ftp server through a socks proxy with no authentication. But i have a NoRouteToHostException. I search on this forum but i found no answers. Actually to make my tests, i have 2 networks, aparted by the proxy : my server is on 172.16.7.* and the client i want to connect is on 192.168.200.*. So for my client there is this settings :
socks adress : 192.168.200.1
socks port : 1080
ftp host : 172.16.7.137

I use this code :
FTPClient.initSOCKS("1080","192.168.200.1");
ftp = new FTPClient();
ftp.setRemoteHost("172.16.7.137");
ftp.connect();

I don't understand : the code is really simple, i don't know what i need to do more...

Thank you for help

12 Answers

0 votes
by (500 points)
Because i didn't found solution to my problem, i chose to not implement my program with an applet : i send simply the java program to the client and he executes it. It works.
But i think there is a compatibility problem between applet and edtftpj...
0 votes
by (162k points)
I think the problem is related to your use of the SOCKS proxy. But it is not a simple problem and without replicating it here there's not much we can do to solve it.

Categories

...