home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <title>AdvHTTP Component</title>
- </head>
- <body>
- <%
- dim HTTP
- set HTTP = Server.CreateObject("AdvHTTP.HTTP")
- HTTP.ProxyServer = Request.Form("ProxyServer")
- HTTP.ProxyPort = Request.Form("ProxyPort")
- HTTP.Path = Request.Form("Path")' path at which you want to save return data
- HTTP.SaveToFile = Request.Form("SaveToFile")' file name to be saved
- HTTP.URL = Request.Form("URL")
- set Result = HTTP.Get()
- if (HTTP.IsError = 1) then
- Response.Write "Error: " & HTTP.ErrorReason & "<br>"
- else
- Response.Write "MimeType: " & Result.MimeType & "<br>" & "Header: " & Result.Header & "<br>" & "FileContent: " & Result.FileContent & "<br>"
- end if
- set Result = Nothing
- set HTTP = Nothing
- %>
- <a href="dsp_get.htm">Back</a>
- </body>
- </html>
-