We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionThe "jsch" based implementation works for me.
But it looks n开发者_JAVA技巧ot 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.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.
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.
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.
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.
精彩评论