Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 remote posts. Using .net

Author  Topic 

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-03-19 : 15:11:03
Hello,
am new to .net coming from a classic ASP background.

We used to post data to a remote unix server using XMLHTTP object and read a status report from the remote server.

something like thus. Comments are in red

Dim getsmsstatus 
Set getsmsstatus=CreateObject("WinHttp.WinHttpRequest.5.1")
getsmsstatus.Open "GET", destination, False
getsmsstatus.Send 'SENDS to the remote server

answers = oXH.responseText ' gets a status report back

How do we achieve this in .net

thanks
Ehi

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2008-03-19 : 15:17:33
see:

http://msdn2.microsoft.com/en-us/library/system.net.webrequest.aspx
http://msdn2.microsoft.com/en-us/library/system.web.httprequest.aspx

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2008-03-21 : 02:51:06
Thanks a lot Jeff,
these links were really helpful.

Ehi
Go to Top of Page
   

- Advertisement -