The Sftp type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Encoding |
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
| |
| Fingerprint |
Gets the server public key fingerprint (a SHA-256 hash of the server public key).
| |
| InstanceId |
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.) | |
| IsAuthenticated |
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.) | |
| IsConnected |
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.) | |
| LocalEndPoint |
Gets the local client EndPoint.
| |
| LogWriter |
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.) | |
| MaxDownloadSpeed |
Gets or sets the maximum allowed download speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
| MaxUploadSpeed |
Gets or sets the maximum allowed upload speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
| Options | Obsolete. | |
| ProtocolVersion |
Gets the SFTP protocol version used by this session. This information is only available on fully initialized and authenticated sessions.
| |
| Proxy |
Gets or sets the network proxy to use to access a remote server.
| |
| RemoteEndPoint |
Gets the remote server EndPoint.
| |
| ServerKey |
Gets the server public key.
| |
| ServerName |
Gets the server name, if available.
(Inherited from NetworkSession.) | |
| ServerPort |
Gets the server port, if available.
(Inherited from NetworkSession.) | |
| ServerType |
Gets or sets the server type.
| |
| Session |
Gets the SSH session used by this SFTP session.
| |
| Settings |
Gets or sets SFTP object settings.
| |
| State | ||
| Timeout |
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
| |
| TransferType |
Gets or sets the data transfer type. Make sure to set the ServerType property to the target OS first!
| |
| UserName |
Gets the authenticated user name, if available.
(Inherited from NetworkSession.) | |
| Version |
Gets the version of the SFTP component.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IFtp..::..Settings | ||
| IFtp..::..TransferType |