Table of Contents

Constructor SftpException

Namespace
SshSharp.Sftp
Assembly
SshSharp.dll

SftpException(SftpStatusCode, string, string?)

Creates the exception.

public SftpException(SftpStatusCode status, string message, string? path = null)

Parameters

status SftpStatusCode

The status the server sent.

message string

What failed.

path string

The remote path concerned, if any.