Hi,
Just tried to reproduce it and it fails fast:
Do you have other servers to test?
Just tried to reproduce it and it fails fast:
var start = DateTime.Now;
try
{
var scp = new ScpClient(res.host, int.Parse(res.port), res.user, res.password);
scp.Connect();
var file = new FileStream("bla", FileMode.OpenOrCreate, FileAccess.Write);
scp.Download("bla", file);
scp.Disconnect();
}
catch (Exception exception)
{
Console.WriteLine(exception.Message);
}
finally
{
var end = DateTime.Now;
Console.WriteLine("Time: " + (end - start));
}
Console.ReadLine();
=>scp: bla: No such file or directory
Time: 00:00:00.5669936
Sounds like a problem, not a known/wanted behaviour.Do you have other servers to test?