• Post Reply Bookmark Topic Watch Topic
  • New Topic

Connect Unix server using JAVA  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone give me java program to connect unix server and run the command ls -l
 
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.

Your duplicate posts have been removed.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you written so far, and what's not working?
 
lalit chahar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to run code that is connecting to the unix account and able to run the commands there but i want to enhance the code. I want to copy a file (a script ) from windows to unix account and then wanted to run that file in the unix server.

Here is the code:


JCE: please use code tags
 
lalit chahar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help in the above issue?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Can you provide the required Jar ?? as its not available on net ...or the path from where I can download it .
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
prasad Kathale wrote:Hi Can you provide the required Jar ?? as its not available on net ...or the path from where I can download it .


I also need them. Please. Thanks
 
Bartender
Posts: 9444
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a 30-day free trial of the com.jscape.inet library available from JScape.
Please do not distribute software in violation of the terms of the author's license. Us professional programmers need to eat too.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!