If you feel some confusion about any thing or if you do not find what you are looking for, please inform us so that we can improve our documentation accordingly. docs@aspfusion.net |
![]() |
The component provides you complete client for HTTP protocol. Access to the component can also be turned on at website basis like all other ASPFusion components. The component is very easy to use and is more flexible for implementing client for HTTP. Will let you set the user agent name, set referrer, set protocol version as HTTP/1.0, set proxy server settings. This control provides easy, high-level access to the complete HTTP client protocol. Retrieving pages, submitting forms along with multiple form variables and multiple files, etc, are well supported. Your web-based applications will download faster. It provides following operations.
Get for performing Get method of HTTP.
Post for performing Post method for HTTP.
<%set
Obj = Server.CreateObject("AdvHTTP.HTTP")%>
Property |
Description |
ErrorReason |
Reports
any errors that occur during the request |
IsError |
Returns
1 if any error occur during the request otherwise 0 |
Password |
When
required by a server, a valid password |
Path |
The
path to the directory in which a file is to be stored |
Port |
The
port number on the server from which the object is being requested.
Default port is 80. |
Protocol |
The
Protocol property indicates what version of HTTP the request should be
made using. Default Protocol is HTTP/1.0 |
ProxyPort |
The
port number on the proxy server from which the object is being requested.
Default port is 80. |
ProxyServer |
The
proxy server address |
Referrer |
Address
of a string that specifies the address (URL) of the document from which
the URL in the request was obtained |
SaveToFile |
The
filename to be used for the file that is accessed |
URL |
Full
URL of the host name or IP address of the server on which the file resides |
UserAgent |
User
agent request header |
UserName |
When
required by a server, a valid username |
Method |
Parameter |
Return Value |
Description |
File |
Name |
None |
Post
the file specified in Path parameter with name specified in Name parameter |
FormField |
Name |
None |
Post
form fields with specified name and value |
Get |
None |
None |
Perform
GET method |
Post |
None |
None |
Perform
POST method |
URLField |
Name |
None |
Post
form fields with specified name and value |
Copyright © 2000, Advanced Communications |