Crestron |
The CrestronFileTransferClient type exposes the following members.
| Name | Description | |
|---|---|---|
| Abort | Aborts current blocking operation asynchronously | |
| Close | Shut down the Client process | |
| Dispose | Destroys the Client | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
The destructor of FileTransferClient class.
(Overrides ObjectFinalize) | |
| GetEffectiveUrl | Gets the effective URL the client connects to | |
| GetFile | Retrieves the remote file pointed by URL. This method directly uses the URL supplied. The URL is retrieved to the destination (localPath) file. Port number can be embedded into URL. Some examples of valid URL prefixed with the specified protocol - http://host.com/myPath/MyFile.txt, https://host.com/myPath/MyFile.txt, ftp://host.com:21/myPath/MyFile.txt, etc. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetLastClientError | Retrieves last client's internal error occurred (effective when one of the methods returned error code = 1). | |
| GetLastClientStrError | Gets a string describing the last error that occurred | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| PostFile | Uploads local file to the remote destination pointed by URL. | |
| PutFile | Uploads local file to the remote destination pointed by URL. This method directly uses the URL supplied. Port number can be embedded into URL. Some examples of valid URL prefixed with the specified protocol - http://host.com/myPath/MyFile.txt, https://host.com/myPath/MyFile.txt, ftp://host.com:21/myPath/MyFile.txt, etc. | |
| SetAddressScope(Int32) | Set the Scope ID for IPv6 addresses | |
| SetAddressScope(String) | Set the Scope ID for IPv6 addresses by interface's name | |
| SetCACertificate | Sets the file holding one or more certificates to verify the peer with. | |
| SetCAPath | Sets the path holding one or more certificates to verify the peer with. | |
| SetExtraVerbose | Set option to enable/disable client's Extra debug output to the console. | |
| SetHeader | Set custom headers | |
| SetHostVerification | Set option to enable/disable host name verification. | |
| SetHttpAuthMethod | Sets HTTP server authentication methods to try. | |
| SetIncludeHeaders | Set option to enable/disable the include of headers in the response. | |
| SetIPResolve | Set IP protocol version to use | |
| SetKeepAlive | Set option to enable/disable feature preventing the client's connection from timing out. | |
| SetPassword | Sets the password to be used in protocol authentication. | |
| SetPeerVerification | Set option to enable/disable verification of the peer's certificate. | |
| SetPostFieldSize(Int32) | Set the size of the field to post | |
| SetPostFieldSize(Int64) | Set the size of the field to post | |
| SetProgressCallBack | Sets the callback info to receive a progress feedback from the client while uploading/downloading | |
| SetProxy | Sets the proxy's name or IP address. | |
| SetProxyAuthMethod | Sets HTTP proxy server authentication methods to try. | |
| SetProxyPassword | Sets the password to use for the transfer while connecting to the proxy. | |
| SetProxyPort | Sets the proxy port to use (e.g. 80, 1080, etc). | |
| SetProxyType | Sets the proxy type to use (e.g. HTTP, SOCKS5, etc). | |
| SetProxyUserName | Sets the user name to use for the transfer while connecting to the proxy. | |
| SetSslVersion | Set the ssl version | |
| SetTimeout | Set option for connection timeout. | |
| SetUserName | Sets the user name to be used in protocol authentication. | |
| SetVerbose | Set option to enable/disable client's debug output to the console. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |