Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Looking for a Java solution to call from Windows and view files on a Linux server. I have RMI working, but my I perfer not to have a service running on the Linux server. I also tried Runtime.exec, but it appears I have to install SSH on Windows?
Posted

Well - there are 2 sides to this:

- Access on a general OS approach
CHeck google for infos on this, there are a lot of explanations out there.

- Access via RMI on an Java implemented approach
This needs to have a Service running on the Linux machine as well to answer your requests.

regards
Torsten
 
Share this answer
 
You need to have 'something' running on the server. Either the server can act as a client - say taking an agglet that will do the work for you [but there may be sandbox issues here] - or the server will provide a service to to view the files.

This said you can also look at the services provide by the server to interrogate the file system. But whatever your approach, the server will need to run something.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900