[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'Short sftp packet error' in libssh


I write a simple C++ program to copy files from my local PC to remote PC using SFTP implemented in libssh library. I followed the sample code in section 'Copying a file to the remote computer' in 'http://api.libssh.org/master/libssh_tutor_sftp.html'. I can copy most of files using this code, but for some files (specifically large files), sftp_write method returns the following error:

Can't write data to file: Short sftp packet!

I am using the latest libssh library from the git repository.

- Mani

Re: 'Short sftp packet error' in libsshAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org