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

ScpException

public class ScpException : SshException
The exception that is thrown when SCP error occurred.
using System; namespace Renci.SshNet.Common { public class ScpException : SshException { public ScpException() { } public ScpException(string message) : base(message) { } public ScpException(string message, Exception innerException) : base(message, innerException) { } } }