Hey guys, I've been looking all over for this and can't seem to find anything. Is there any library for Java that can let you easily implement an SFTP server in your application? I'm trying to receive files via SFTP, but I can't seem to find any implementation of an SFTP server.
I've found FTP/SFTP/FTPS client libraries, and FTP/FTPS server libraries, but none for a server for SFTP. Am I just blind? To clarify, i'm trying to receive files via SFTP. Not "get" or "put" files from my application to another existing server.
Right now my application lets the users connect to the local linux SFTP server, drop the files, and then my application polls the directory, but I feel that this is a poor implementation; I hate the idea of "polling" directories, but unfortunately they HAVE to use SFTP. Any suggestions?