Click here to Skip to main content
15,885,077 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have developed a web application to mangage a process. The catch is that the tool which is used in the main process is a console application. Now since my application is a web application i want to poll each of the machines through a web service and read some files present at particular shared location of target machine.
Kindly let me know your ideas on how to proceed

Thanks.
Posted
Comments
Sandeep Mewara 2-Jul-12 1:44am    
I could not connect the relevance of this:The catch is that the tool which is used in the main process is a console application. with whole question. Can you please elaborate and clarify a little?

Further, you are seeking for an idea on how to poll different machines?
cgn123 2-Jul-12 5:39am    
@Sandeep: Requirement is that i have to integrate two tools, 1st is third party console application and 2nd is a web application which i developed. Web applcation is hosted at a central server. The console applcation which is hosted in seperate machines will generate a log file after the application is run, and the same log file is placed in a shared folder. Now from the server i should access the shared folder in target machines and read log files present there. I want to know how this can be done

1 solution

Use the winsock control or some implementation of tcp or udp. You'll need a client on each machine to listen for the poll. Way too much code needed so please get started and then ask something specific if you get stuck.
 
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