#24 Please add support for latest j2ssh (0.2.7)

closed
nobody
None
4
2005-11-08
2004-01-21
David Walluck
No

It seems that our moving target has changed API's yet
again!

I noticed the comment:

// newer api
//SftpClient sftp = ssh.openSftpClient();

in SftpConnection.java

It seems that

session.startSubsystem(sftp)

will not work anymore (since that API is gone!), but
the line of code above does not do the trick either.

Discussion

  • Cyberdemon
    Cyberdemon
    2004-01-21

    Logged In: YES
    user_id=164594

    Hmm, I have to look at this, but this would probably take
    some hours to code. Since I'm currently busy studying (have
    to write tests soon) this might take a while. Using
    SftpClient instead of the raw subsytem will probably result
    in another wrapper class.

     
  • David Walluck
    David Walluck
    2004-11-06

    Logged In: YES
    user_id=626471

    It's been about a year since this request (and since the
    last j2ssh release, as far as I can tell). Any chance on
    updating this?

    By the way, which version of the j2ssh API do you use? j2ssh
    0.1.7 is too old. j2ssh 0.2.7 is too `new'.

     
  • Cyberdemon
    Cyberdemon
    2004-11-08

    Logged In: YES
    user_id=164594

    I looked at the recent j2ssh again, but it looks like
    SftpSubsystem can still not be used again. I didn't find
    enough documentation (only outdated javadocs) on SftpClient
    and the whole subsystem stuff yet to tell you if it would be
    possible to write another without losing things like
    progress monitoring, too. But if you know more about the
    insides of j2ssh or some urls pointing to developer docs
    please let me know...

     
  • Cyberdemon
    Cyberdemon
    2004-11-12

    • priority: 5 --> 4
     
  • Cyberdemon
    Cyberdemon
    2005-11-08

    • status: open --> closed
     
  • Cyberdemon
    Cyberdemon
    2005-11-08

    Logged In: YES
    user_id=164594

    I walked through the sourcecode and the example/tutorial
    stuff and was finally able to add j2ssh 0.2.7... just a few
    lines to change, but it took *some* hours until I figured
    out how to do so.