Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

connect and read/execute commands on Linux machine through Windows application

Posted on 2013-10-23
5
Medium Priority
?
390 Views
Last Modified: 2013-10-28
Hello experts

How I can able to connect to a Linux machine and read a file contents or data packets and also executing a command from a VC++ application on windows.
0
Comment
Question by:HarishMinu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:sarabande
ID: 39593947
you would need to provide a service at the windows system which retrieves the information at the local machine on request from the Linux and sends it back. normally, you would do that by socket communication. the service would run in the background and it requires additional efforts to execute a function of running desktop application. it could be easier to add a thread to the vc application which would communicate with the Linux.

Sara
0
 

Author Comment

by:HarishMinu
ID: 39597173
Its looks complicated, in simple I want to connect to a Linux machine and read a file contents and display in GUI application which is on windows machine
Thanks in advance.
0
 
LVL 35

Expert Comment

by:sarabande
ID: 39597611
you could add a samba server at the linux and then map a drive from windows which then could accessed locally like any other drive.

Sara
0
 

Author Comment

by:HarishMinu
ID: 39604933
Is there any other solution to read the files on Linux, because installation of samba server cannot be possible.
0
 
LVL 35

Accepted Solution

by:
sarabande earned 1500 total points
ID: 39605231
there are thousands of file servers available for any linux. you also could install a ftp server, see http://en.wikipedia.org/wiki/List_of_FTP_server_software or check whether there is already an installation.

if you can't install software on the linux, it is more difficult. you could use a nas storage that was used both by linux and windows. or you program your own file server what is not much difficult for a lan.

Sara
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn different types of Android Layout and some basics of an Android App.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question