This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SFTP library recomendations

 
Ben Manes
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My company is required to use SFTP (SSH FTP) to transfer data to a new partner, but I haven't been able to find any good Java libraries. I have found a few commercial and open source ones, but they look relatively hacked together and poorly documented. I did find some good FTPS libraries (FTP over SSL), but none of the senior engineers were aware of that standard and decided against it.

Has anyone had experience with an SFTP library in Java?

Thanks!
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSCH do one that is opensrc, www.jcraft.com.

I have no idea whether it's poorly documented or not (I just look at the source code, that's documentation enough right ), the example programs were pretty clear.

3sp also do an ant task that supports SSH (it's called maverick, goto www.sshtools.com). The task itself is free, but I'm not sure what the licensing requirements would be if you were to embed it into a product. Of course, if you're just transferring files to an internal client, you could just use a cronjob + ant right

Lewin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic