Major typo on my part, the number of characters transferred needs another 0 appended to it: 730000
Its not 73k, its 730k. It transfers quite a decent amount before the disconnect. I also just attempted using a shell and write() instead of using exec, and it has the same behavior. I will compile a debug version to get some trace statements pumped out! On Wed, May 4, 2011 at 12:04 PM, bayan <nay...@gmail.com> wrote: > Hi Peter, > > Thanks for the reply! > > I will go ahead and attempt the tracing compile, hopefully that will > provide some more information that i can post when I get a chance. > > For now, I kept track of the number of characters transferred each time > which totals to ~73000 characters (give or take a few, I suppose due to the > way I am measuring it) > > Replacing my "command" libssh2 exec call, with simply putting "command" > into putty, I am able to keep going well beyond this 73k character point > where it dies through libssh2 everytime. > > As Daniel suggested, here is some more information: > > libssh2 version: #define LIBSSH2_VERSION "1.2.7" > > libssh2 compiled and running on Windows XP, connecting to a Unix machine. > > Cheers! > Ben > > On Tue, May 3, 2011 at 8:54 PM, Peter Stuge <pe...@stuge.se> wrote: > >> bayan wrote: >> > ssh_channel = libssh2_channel_open_session(ssh_session); >> > libssh2_channel_exec(m_ssh_channel, command); >> .. >> > Everything is working all fine and dandy (oh ya, dandy!), up until I >> > transfer X amount of (large?) data. The amount of data transferred is >> > exactly the same every time, at which point it completely halts all >> > transfer. >> .. >> > Please let me know if there is anything else I can provide for more >> help! >> >> For starters make X known. >> >> It would also be very useful if you could enable tracing and provide >> the output from that. (You may have to build a version of libssh2 >> that includes the debug messages.) >> >> >> //Peter >> _______________________________________________ >> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel >> > >
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel