The methods of the HttpClient class are listed below. For a complete list of HttpClient class members, see the HttpClient Members topic.
CancelResume | Cancel the resume. Use this method if something goes wrong and the client is left in an inconsistent state |
CancelTransfer | Cancels the current transfer. |
CdUp | Change the remote working directory to the parent directory. |
ChDir | Change the remote working directory to that supplied. |
Connect | Connect to the HTTP server and verify it is available. |
Delete | Not supported by HTTP |
Dir | Overloaded. List an HTML page's hrefs as an array of strings. |
DirDetails | Overloaded. List the current directory's hrefs as an array of FTPFile objects. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Exists | |
Get | Overloaded. Get data from the FTP server. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetLocalCRC | Get the CRC-32 checksum for the named local file |
GetRemoteCRC | Get the CRC-32 checksum for the named remote file. Not supported in HTTP. |
GetType (inherited from Object) | Gets the Type of the current instance. |
MkDir | Not supported by HTTP |
ModTime | Get modification time for a remote file. |
MultipleDelete | Overloaded. Delete multiple files in the current remote directory and its subdirectories. |
MultipleDeleteDirectories | Remove a remote directory, and all its files and its subdirectories |
MultipleGet | Overloaded. Get multiple files from the specified remote directory into the specified local directory |
MultiplePut | Overloaded. Put multiple files from the specified local directory into the specified remote directory |
Put | Overloaded. |
Pwd | Get the current remote working directory. |
Quit | Quit the HTTP session. |
QuitImmediately | Quit the FTP session immediately by closing the control socket without sending the QUIT command. |
Rename | Not supported by HTTP |
Resume | Make the next file transfer resume. |
RmDir | Not supported by HTTP |
SetModTime | Not supported by HTTP |
Size | Get the size of a remote file. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Unlock | Unlock the software for use. This method should be used when a configuration file isn't available |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |