I used freeFTPd as a SFTP server. Works well, simple usage, simple UI.
Perfect for little client app or something similar. However, I don't know how it behaves for a heavy production need.
For testing, I built a Java app with the Jcraft SFTP lib. I managed to get/put files, make directories, and other basic stuff.