Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Issue: Payload cannot be more then 32768 bytes. [1465]

$
0
0
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()
Comments: ** Comment from web user: olegkap **

What version did you use?
Did you change maximum size?
I changed a default size in last version so it will not get to this exception so just wondering how you got it.
Please provide a code example that you use as well as what version or code source version you used.

Thanks,
Oleg


Viewing all articles
Browse latest Browse all 1026

Trending Articles