Hi,
thank you for trying to reproduce. I'm using a very simple code fragment:
using (mSsh = new SshClient(address, user, pass)) { mSsh.Connect();using (mScp = new ScpClient(address, user, pass)) { mScp.Connect(); mScp.ErrorOccurred += new EventHandler<Renci.SshNet.Common.ExceptionEventArgs>(mScp_ErrorOccurred); mScp.Uploading += new EventHandler<Renci.SshNet.Common.ScpUploadEventArgs>(mScp_Uploading); mScp.Upload( new DirectoryInfo(mcLocalDir) , mcRemoteDir); } }
I also played around with reducing the SCP buffersize by e.g. "mScpClient.BufferSize = 8 * 1024;". But it did not change the
problematic behaviour.