The properties of the HttpClient class are listed below. For a complete list of HttpClient class members, see the HttpClient Members topic.
CloseStreamsAfterTransfer | If true then streams are closed after a transfer has completed. |
ControlPort | The port on the server to which to connect to. |
CountBeforeSleep | Number of transfers before going to sleep |
DataEncoding | The encoding to use for data when transferring in ASCII mode. |
DeleteOnFailure | Controls whether or not a file is deleted when a failure occurs. |
DetectTransferMode | If set to true, the transfer mode in operations involving multiple files is automatically changed between ASCII and binary as appropriate. |
IsConnected | Indicates whether the client is currently connected with the server. |
LicenseKey | The license key string. |
LicenseOwner | The license owner string. |
MaxTransferRate | The maximum transfer rate in bytes per sec |
Password | Password to user (if required) |
ProxySettings | Settings for using proxies. |
RemoteHost | The domain-name or IP address of the HTTP server. |
ShowHiddenFiles | Include hidden files in operations that involve listing of directories, and if supported by the server. Not applicable for HTTP. |
SleepEnabled | Enabling or not of sleeping after a certain number of transfers |
SleepTime | Number of seconds spent asleep |
SocksContext | Obsolete. Not applicable for HTTP. SOCKS proxies are not supported. |
Timeout | Timeout on the requests in milliseconds. |
TransferBufferSize | The size of the buffers (in bytes) used in writing to and reading from the data-sockets. |
TransferNotifyInterval | The number of bytes transferred between each notification of the BytesTransferred event. |
TransferNotifyListings | By default the BytesTransferred event is not triggered during directory listings - this property can be used to enable this behaviour. |
TransferType | The current file transfer type (BINARY or ASCII). |
UserAgent | User agent for HTTP requests |
UserName | User name to use (if required) |