I use Tamir.SharpSsh to upload the file to the ssh server with the code below, but I get a System.IO.IOException: Pipe closed. Any clue why?
SshTransferProtocolBase scp = new Scp(SSH_HOST, SSH_USER); scp.Password = SSH_PASSWORD; scp.Connect(); foreach (string file in files) { string remotePath = "incoming/" + new FileInfo(file).Name; scp.Put(file, remotePath); } scp.Close();
Relationships / Niels
source share