Table of Contents

Method EnsureSuccess

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

EnsureSuccess()

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

public SftpExtendedReply EnsureSuccess()

Returns

SftpExtendedReply

This reply.

Exceptions

SftpException

The server answered with an error status.