Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reading a properties file from remote machine  RSS feed

 
saikiran venkata
Greenhorn
Posts: 29
Hibernate Java
  • 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,
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!