English 中文(简体)
Looking for java SFTP modern library, not jsch [closed]
原标题:

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 8 years ago.

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.

最佳回答

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.

问题回答

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.

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.





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签