Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.6k views
in Java FTP by (220 points)
Hi

I'm using edtftpj.jar in a java stand alone application but something seems to be wrong. Here is the error:

Caused by: java.net.SocketException: Malformed reply from SOCKS server
at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket
.java:122)
at com.enterprisedt.net.ftp.FTPControlSocket.<init>(FTPControlSocket.jav
a:369)
at com.enterprisedt.net.ftp.FTPClient.connect(FTPClient.java:985)
at com.enterprisedt.net.ftp.FileTransferClient.connect(FileTransferClien
t.java:389)

I made another test using a java class that imports com.enterprisedt.net.ftp.FileTransferClient. This new test woks fine.

What could be the problem?

Tks for help me.

3 Answers

0 votes
by (162k points)
Not sure. Post both logs at DEBUG level (snipped).
0 votes
by (220 points)
Please let me know how to turn on DEBUG level.
0 votes
by (162k points)
Take a look at the documentation included in the download - see the howto on logging.

Categories

...