This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I need to upload/down files to/from a UNIX box to a SFTP server. Could I use the FTPClient (Apache commons net) for it?
I also need to use key based authentication. So if I install my public key in the SFTP server, and private key in my UNIX box, would that be sufficient? That is, I need to login from within my application (for file transfer)?