After trying to get sftp working ive ended up with the simplest possible sample that does not work. Basically I have created a simple class with main and copied the 2nd (SFTP) example from http://mina.apache.org/ftpserver/embedding-ftpserver-in-5-minutes.html. The server starts without any exceptions but no client (winscp, cuteftp etc) all fail to connect. Im completely baffled any pointers would be appreciated…im guessing im missing something completely obvious.
Share
Turns out you cant create an SFTP server only ftp over ssl 🙁