During 144 KB file upload exception occur.
Could you please advice where is the problem - in my code or in the Renci.SshNet.dll ?
System.InvalidOperationException: Payload cannot be more then 32768 bytes.
at Renci.SshNet.Session.SendMessage(Message message)
at Renci.SshNet.Channels.Channel.SendMessage(ChannelDataMessage message)
at Renci.SshNet.Channels.Channel.SendData(Byte[] buffer)
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage)
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request)
at Renci.SshNet.Sftp.SftpSession.RequestWrite(Byte[] handle, UInt64 offset, Byte[] data, EventWaitHandle wait)
at Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, SftpUploadAsyncResult asynchResult, Flags flags)
at UploadData()
Could you please advice where is the problem - in my code or in the Renci.SshNet.dll ?
System.InvalidOperationException: Payload cannot be more then 32768 bytes.
at Renci.SshNet.Session.SendMessage(Message message)
at Renci.SshNet.Channels.Channel.SendMessage(ChannelDataMessage message)
at Renci.SshNet.Channels.Channel.SendData(Byte[] buffer)
at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage sftpMessage)
at Renci.SshNet.Sftp.SftpSession.SendRequest(SftpRequest request)
at Renci.SshNet.Sftp.SftpSession.RequestWrite(Byte[] handle, UInt64 offset, Byte[] data, EventWaitHandle wait)
at Renci.SshNet.SftpClient.InternalUploadFile(Stream input, String path, SftpUploadAsyncResult asynchResult, Flags flags)
at UploadData()