tumblr tracker

GetPage

Library Reference ›› Web ››
Parent Previous Next

Web.GetPage


Namespace: Web


Reads a page from the Internet.


retval = Web.GetPage(PageUrl)


Parameters:

- PageUrl; string value; The Internet address of the page to read


Returns:

The content of the page as a text; string value.


Example


$WebPage = Web.GetPage("http://www.moscripto.com/download.aspx");

If (String.Length($WebPage) > 0)
{
   File.WriteUTF8("C:\TEMP\moscripto_download.aspx", $WebPage);
}