Read and/or write a file to an ssh Server in Android

Well I hope you can help me with this question. Is there a easy to use a library for android so I can read and write to my server via ssh? A perfect way would be if I only had to import a library and then could use a normal ssh connection.

The background is that I want to save a small xml file on my server and read it anytime again with my app. If there is an easier way feel free to suggest.

Thanks for any help.

Demian

Upvotes: 1

Views: 1708

Answers (1)

Morad Edwar
Morad Edwar

Reputation: 1050

Use this lib sshj and make a connection between you app and your server, then use wget to download your xml file to the sdcard, then read it in your app through java.

Upvotes: 2

Related Questions