[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Short sftp packet!
[Thread Prev] | [Thread Next]
- Subject: Re: Short sftp packet!
- From: Saju Panikulam <spanikulam@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 23 Aug 2016 12:25:42 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
Try reading and writing in blocks of 4K. Do this to EOF of source file. ________________________________ From: Rafael Hovhannisyan <psrafo@xxxxxxxxx> Sent: Tuesday, August 23, 2016 7:54:02 AM To: libssh@xxxxxxxxxx Subject: Short sftp packet! Hello everybody. I have a problem, which I can't understand by myself. When I am trying to write long files(bigger than 255 kb) via sftp_write function, I am getting an error message(Short sftp packet!); but when file was created/updated on remote server, it was with zero bytes. Code: https://github.com/psrafo/justup/blob/master/src/justup.c#L330
Re: Short sftp packet! | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
Short sftp packet! | Rafael Hovhannisyan <psrafo@xxxxxxxxx> |