Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5k views
in Java FTP by
first:
thank you for my help

question:

proxy ip:200.200.200.246
proxy user:wfn
proxy passwd:8176350
remote ip:ftp.bhu.edu.cn
remote user:anonymous
proxy passwd:12

I DO it

:cry:
ftp.setRemoteHost("ftp.bhu.edu.cn");
ftp.initSOCKS("1080","200.200.200.246");
ftp.initSOCKSAuthentication("wfn","8176350");

ftp.login("anonymous"+"@"+"ftp.bhu.edu.cn","12");
worng or right???

5 Answers

0 votes
by
remtoe passwd:12
0 votes
by (162k points)
Is the proxy a SOCKS proxy? If not just using

ftp.login("anonymous"+"@"+"ftp.bhu.edu.cn","12");

may be all you need if your proxy supports this.

Otherwise use the SOCKS settings and don't do the above.

first:
thank you for my help

question:

proxy ip:200.200.200.246
proxy user:wfn
proxy passwd:8176350
remote ip:ftp.bhu.edu.cn
remote user:anonymous
proxy passwd:12

I DO it

:cry:
ftp.setRemoteHost("ftp.bhu.edu.cn");
ftp.initSOCKS("1080","200.200.200.246");
ftp.initSOCKSAuthentication("wfn","8176350");

ftp.login("anonymous"+"@"+"ftp.bhu.edu.cn","12");
worng or right???
0 votes
by
i use the SOCKS settings
0 votes
by
what is another setting ??
thanks
0 votes
by
:cry:

Categories

...