PC Review


Reply
Thread Tools Rate Thread

C Sharp and cgi

 
 
oandcenterprises@gmail.com
Guest
Posts: n/a
 
      15th Feb 2007
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.

 
Reply With Quote
 
 
 
 
Ben Voigt
Guest
Posts: n/a
 
      15th Feb 2007

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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.


 
Reply With Quote
 
=?ISO-8859-1?Q?Arne_Vajh=F8j?=
Guest
Posts: n/a
 
      18th Feb 2007
Ben Voigt wrote:
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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.


More specifically WebClient or (Http)WebRequest.

Arne
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
c sharp douglas Microsoft C# .NET 2 3rd Apr 2009 06:58 PM
C Sharp baseballboxgolf@mail.com Microsoft C# .NET 1 9th May 2007 11:30 AM
help in c sharp asif Microsoft C# .NET 1 20th Feb 2007 04:42 PM
C-Sharp robert Microsoft C# .NET 0 13th Sep 2003 04:08 AM
Free exam simulation software for c sharp exams see exams as it happens test your c sharp knowledge shiv Microsoft C# .NET 0 7th Aug 2003 02:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:30 PM.