Hi All,
I've tried to search for this issue but haven't had any luck.
I am trying to upload a file to an SFTP but it fails when the file is larger than approx 50kb, when the file is smaller than that it works flawlessly.
It seems to be failing on;
this.SendRequest(request);
And something to do with;
this._session.WaitHandle(waitHandle);.
The exception is;
at Renci.SshNet.Session.WaitHandle(WaitHandle waitHandle) in C:\Devel\InternalApplications\Renci.SshNet\Session.cs:line 643
at Renci.SshNet.Channels.Channel.WaitHandle(WaitHandle waitHandle) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 496
at Renci.SshNet.Channels.Channel.SendMessage(ChannelDataMessage message) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 446
at Renci.SshNet.Channels.Channel.SendData(Byte[] buffer) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 215
at Renci.SshNet.Sftp.SubsystemSession.SendData(Byte[] data) in C:\Devel\InternalApplications\Renci.SshNet\SubsystemSession.cs:line 115
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage) in C:\Devel\InternalApplications\Renci.SshNet\Sftp\SftpSession.cs:line 86
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request) in C:\Devel\InternalApplications\Renci.SshNet\Sftp\SftpSession.cs:line 251
Please could you let me know how I can resolve this?
Many thanks,
David
Comments: ** Comment from web user: drieseng **
I've tried to search for this issue but haven't had any luck.
I am trying to upload a file to an SFTP but it fails when the file is larger than approx 50kb, when the file is smaller than that it works flawlessly.
It seems to be failing on;
this.SendRequest(request);
And something to do with;
this._session.WaitHandle(waitHandle);.
The exception is;
at Renci.SshNet.Session.WaitHandle(WaitHandle waitHandle) in C:\Devel\InternalApplications\Renci.SshNet\Session.cs:line 643
at Renci.SshNet.Channels.Channel.WaitHandle(WaitHandle waitHandle) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 496
at Renci.SshNet.Channels.Channel.SendMessage(ChannelDataMessage message) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 446
at Renci.SshNet.Channels.Channel.SendData(Byte[] buffer) in C:\Devel\InternalApplications\Renci.SshNet\Channels\Channel.cs:line 215
at Renci.SshNet.Sftp.SubsystemSession.SendData(Byte[] data) in C:\Devel\InternalApplications\Renci.SshNet\SubsystemSession.cs:line 115
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage) in C:\Devel\InternalApplications\Renci.SshNet\Sftp\SftpSession.cs:line 86
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request) in C:\Devel\InternalApplications\Renci.SshNet\Sftp\SftpSession.cs:line 251
Please could you let me know how I can resolve this?
Many thanks,
David
Comments: ** Comment from web user: drieseng **
This is a duplicate of issue 1706.