• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

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

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
HarishMinu
Asked:
HarishMinu
  • 3
  • 2
1 Solution
 
sarabandeCommented:
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
 
HarishMinuAuthor Commented:
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
 
sarabandeCommented:
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
 
HarishMinuAuthor Commented:
Is there any other solution to read the files on Linux, because installation of samba server cannot be possible.
0
 
sarabandeCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now