This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading a properties file from remote machine

 
saikiran venkata
Greenhorn
Posts: 29
Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic