commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Makurin <>
Subject commons-net ftpsclient secure data connection
Date Thu, 29 Sep 2011 09:16:32 GMT
Hi all!

I have question about commons-net FTPSClient. Looks like data
connection not encrypted by default, but I`m forced to use only secure
connection, couse ftp server reject unencrypted. So, how can I turn on
data channel encryption on?

here is my core:

FTPSClient ftpClient = new FTPSClient();
ftpClient.connect(host, port);
ftpClient.login(user, pass);

and i have following error messgae from server:
522 You have to turn on secure data connection.


If you think of MS-DOS as mono, and Windows as stereo,
 then Linux is Dolby Digital and all the music is free...

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message