• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

getReplyString() equivalent method for j2ssh

Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am looking of a method equivalent of below code in j2ssh. I am using com.sshtools.j2ssh.*

In Apache you have this
import org.apache.commons.net.ftp.*;

FTPClient ftp = new FTPClient();
System.out.println ( "Server Response " + ftp.getReplyString()); // I need this method getReplyString() in j2ssh but I cannot find it. Is there any other way to get server response in j2ssh

I need this method equivalent in j2ssh to get the response from server whenever I am making a connection or there is an error fired. Also is there any way in which I can get the list of IOException thrown in j2ssh so I can form user readable error.

Posts: 21805
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Other Open Source Projects.
I'm THIS CLOSE to ruling the world! Right after reading this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!