Table of Contents

Class SftpExtendedReply

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll
public sealed class SftpExtendedReply
Inheritance
SftpExtendedReply
Inherited Members

Properties

Data

The reply's fields after its request id, as the server sent them (for a status: its code, message and language tag).

IsExtendedReply

Whether this is an SSH_FXP_EXTENDED_REPLY, the extension's own reply.

PacketType

The reply's SFTP packet type: 201 (SSH_FXP_EXTENDED_REPLY), 101 (SSH_FXP_STATUS), or another reply type an extension answers with, such as 104 (SSH_FXP_NAME) or 102 (SSH_FXP_HANDLE).

Status

The status, when the reply is an SSH_FXP_STATUS; null otherwise.

StatusMessage

The status message, when the reply is an SSH_FXP_STATUS, without control characters and at most 200 characters; null otherwise.

Methods

EnsureSuccess()

Throws when the reply is a status other than Ok; returns this reply otherwise.