aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes If I wanted to connect and read files from remote unix box using java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "If I wanted to connect and read files from remote unix box using java application" Watch "If I wanted to connect and read files from remote unix box using java application" New topic
Author

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

Srini.S Shamala
Greenhorn

Joined: Dec 15, 2007
Posts: 1
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


Thanks&Regards<br />Srini
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12671
    
    5
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


Java Resources at www.wbrogden.com
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
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.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If I wanted to connect and read files from remote unix box using java application
 
Similar Threads
Connecting to Unix via Windows
connect unix from windows java program
Java Swing Application that connects to UNIX box and execute some UNIX commands
How I connect to remote Unix Box from standalone java application?
Reading log file using Java