Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading a properties file from remote machine

saikiran venkata
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/ 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic