C Sharp and cgi

  • Thread starter Thread starter oandcenterprises
  • Start date Start date
O

oandcenterprises

I have a cgi script that is on a unix server. The cgi script runs some
code then it prints two lines of data that I need. The c# program
needs to be able to run the cgi program and get the two lines of data
that it printed.
 
I have a cgi script that is on a unix server. The cgi script runs some
code then it prints two lines of data that I need. The c# program
needs to be able to run the cgi program and get the two lines of data
that it printed.

Locally or remotely? Does the script take inputs?

Probably the easiest thing to do is connect to the unix web server via HTTP
so that it handles all the CGI environment stuff, and you just get an HTTP
response containing your data.
 
Ben said:
Locally or remotely? Does the script take inputs?

Probably the easiest thing to do is connect to the unix web server via HTTP
so that it handles all the CGI environment stuff, and you just get an HTTP
response containing your data.

More specifically WebClient or (Http)WebRequest.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top