File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes SFTP library recomendations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "SFTP library recomendations" Watch "SFTP library recomendations" New topic

SFTP library recomendations

Ben Manes

Joined: Aug 26, 2006
Posts: 1
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?

Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214
JSCH do one that is opensrc,

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 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


I have no java certifications. This makes me a bad programmer. Ignore my post.
I agree. Here's the link:
subject: SFTP library recomendations
It's not a secret anymore!