• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If I wanted to connect and read files from remote unix box using java application

 
Srini.S Shamala
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to connect remote unix box to read the files using java class.
and by using ssh way. Please help me in this regard
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step will be to determine which processes on the Unix box you are allowed to use. Another good question for your Unix administrator will be the security protecting those files.

If you are lucky you will be able to use a well established process like FTP. A google search for "java ftp client" gets lots of options.

Bill
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no SSH support in the native Java libraries, but plenty of packages out there. Google found this http://linuxmafia.com/ssh/java.html.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic