[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'Short sftp packet error' in libssh
[Thread Prev] | [Thread Next]
- Subject: Re: 'Short sftp packet error' in libssh
- From: Mani Amoozadeh <mani.amoozadeh2@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 14 Nov 2016 08:28:44 -0800
- To: libssh@xxxxxxxxxx
I dont know. How can I check it? I am using the exact same sample code provided in the documentation. I am sending a file from x86-64 system to ARM system. On Nov 14, 2016 6:58 AM, "Andreas Schneider" <asn@xxxxxxxxxxxxxx> wrote: > On Sunday, 13 November 2016 23:33:48 CET Mani Amoozadeh wrote: > > Hello, > > > > 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. > > Hey, > > do you write in 16k chunks? > > > Andreas > > -- > Andreas Schneider GPG-ID: CC014E3D > www.cryptomilk.org asn@xxxxxxxxxxxxxx > >
Re: 'Short sftp packet error' in libssh | Mani Amoozadeh <mani.amoozadeh2@xxxxxxxxx> |
Re: 'Short sftp packet error' in libssh | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
'Short sftp packet error' in libssh | Mani Amoozadeh <mani.amoozadeh2@xxxxxxxxx> |
Re: 'Short sftp packet error' in libssh | Andreas Schneider <asn@xxxxxxxxxxxxxx> |