*
The moose likes Sockets and Internet Protocols and the fly likes reading a properties file from remote machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "reading a properties file from remote machine" Watch "reading a properties file from remote machine" New topic
Author

reading a properties file from remote machine

saikiran venkata
Greenhorn

Joined: Oct 31, 2010
Posts: 29

Hi All,

Excuse me if it is a repeated post,i searched but didn't get what i needed.

I want to read a properties file which is in a remote machine(Something like /opt/Test/one.properties) and have to update some XML file which also there in the same machine.
this is first time i encounter like this..came to know about JSch...but not sure where to start(JSch,ChannelSftp,Session)...
please provide any pointers to start or some sample code.

Thanks,


SCJP 1.6 | SCWCD 5
The earth is enjoyed by heroes—this is the unfailing truth. Be a hero. Always say, “I have no fear." ~Swami Vivekananda.
 
 
subject: reading a properties file from remote machine
 
Similar Threads
jsch file copy from Linux to Windows
Java remote paths
Data class and server code
how to get free Disk Space on remote machine
How to read remote files on Unix Machine from Windows Local Host