Achei esse script outro dia navegando e achei legal ter aqui também.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
......................................................
Author : Harish Mohanbabu
Purpose : Demonstration for connecting to a website and
downloading a webpage from there....
......................................................
static void ReadHTML(Args _args)
{
    str page;
    str filename;
    commaIO myfile;
    int handle;
    WinInet wi = new WinInet();
    ;
    filename = "C:\\HTMLfile.txt";
    myfile = new commaIO(filename,"w");
    handle = wi.internetOpenUrl('http://www.harishm.com');
    if (handle)
    {
        page = wi.internetReadFile(handle);
        myfile.write(page);
    }
    wi.internetCloseHandle(handle);
}

[]s
Ricardo Pichler