Hi,
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.
views:
61answers:
3
+2
A:
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.
dty
2010-10-06 17:12:03
http://stackoverflow.com/questions/1386275/why-java-vector-class-is-considered-obsolete-or-deprecated
Boris
2010-10-07 09:49:21
Did you have a point? I know Vector is synchronised. But: a) the synchronisation overhead is virtually zero on a modern JVM with uncontended locks, and b) you're talking about a handful of extra processor cycles compared to the burden of network comms with encryption.
dty
2010-10-07 17:23:33
+1
A:
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.
Colin Hebert
2010-10-06 17:15:55
The problem with old SSH implementations is that such implementation usually don't work well with later versions of SSH server software. So maintenance for better compatibility must be provided and this is what open-source implementations fail to offer.
Eugene Mayevski 'EldoS Corp
2010-10-07 07:53:47
The clue's in the name... if it's open-source and you want a new feature to support "later versions of SSH server software", then just implement it yourself.
dty
2010-10-07 17:24:35
+1
A:
You may also want to take a look at IP*Works! SSH from /n software.
Spencer
2010-10-06 18:24:40
Not that I judge the tool but $899 seems expensive to just get rid of some `Vector`
Colin Hebert
2010-10-06 18:27:13