<PackageReference Include="SSH.NET" Version="2025.1.0" />

SftpPathNotFoundException

The exception that is thrown when file or directory is not found.
public string Path { get; }

Gets the path that cannot be found.

Initializes a new instance of the SftpPathNotFoundException class.

public SftpPathNotFoundException(string message)

Initializes a new instance of the SftpPathNotFoundException class.

public SftpPathNotFoundException(string message, string path)

Initializes a new instance of the SftpPathNotFoundException class.

public SftpPathNotFoundException(string message, Exception innerException)

Initializes a new instance of the SftpPathNotFoundException class.

public SftpPathNotFoundException(string message, string path, Exception innerException)

Initializes a new instance of the SftpPathNotFoundException class.