get a long output message which with a pause by cli api
hi:
When i send a command by telnetsession api ,but the output message is too long and it has a pause,so i can't get output message.In other words, how can i get the output message when I send "ls | more" in linux by telnet session api.
see below
TelnetSession session = new TelnetSession();
session.connect( localhost, 23 );
session.setPrompt("$");
session.setLoginPrompt("login:");
session.setPasswdPrompt("Password:");
session.login( loginname, password );
String respond=session.send("ls | more"+"\r");
tell me how should i do!
thank you very much!
New to ADSelfService Plus?