• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help needed in running unix cmd using Java Telnet Application  RSS feed

 
Sandeep Ghosh
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I want to login to remote linux server using telnet and run some unix command which I have specified in my program.For this purpose I am using Java Telnet Application of sourceforge.com.
I have written a simple program for this purose. though it is printing "dump" but not printing output of ls -l. It is printing null

Could anybody suggest what is the problem Thanks in adv
Sonu
[ January 27, 2003: Message edited by: Sonu Ghosh ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps someone over in The Intermediate Forum has an idea...
 
Mohit Bhakat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please help me out to execute this code as i am not able to use TelnetWrapper.How could i use it?
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohit Bhakat wrote:Can you please help me out to execute this code as i am not able to use TelnetWrapper.How could i use it?

We need an awful lot more information than that.

What have you tried?
What happened when you tried it? (and be specific)

Winston

PS: Did you realize that you've revived a 9-year old thread?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!