Question

The "jsch" based implementation works for me.
But it looks not modern one due to using Vector (old style Java collection).
I found that the other implementations are less popular and not documented.
Can you recommend implementation of SFTP library that he/she has good experience with it.
Thanks.

Was it helpful?

Solution

As @dty said, as long as your application can work smoothly why do you care for the usage of deprecated classes/methods in the library ?

You only need to care about what you're calling, not how does it work in the inside.
You can also use abstraction tools above JSch, but it won't change a thing.

You can also check for JSch alternatives, but as JSch is widely used you'll have probably less bugs with it.

OTHER TIPS

There is a newer "version" of Jsch on github. It is a vast improvement to the existing library in many ways. Check out the README on the site and the comprehensive javadoc for more information. https://github.com/vngx/vngx-jsch. It's also available on most major maven repos and it's OSGi compatible. There are quite a few alternatives, but this one is solid and I believe the most up-to-date (spec/code/docs). Disclaimer: I am a contributor.

It works. Who cares if it uses Vector? It's by far the most popular one. In fact, it's the only one I can think of without resorting to Google.

You may also want to take a look at IP*Works! SSH from /n software.

I have used this library https://github.com/shikhar/sshj/. Its has got an excellent API [Requires Java 6].

A cheaper commercial alternative (my own product, for disclosure), is edtFTPj/PRO.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top