Hi,

...and even more information: I think I managed to capture a request and the 
corresponding(?) response from the server.
I didn't manage to capture the open_packet and the response data with one 
breakpoint, so I keep a copy of the last sent open_packet inside 
libssh2_sftp_open_ex(), right before libssh2_channel_write_ex() gets executed 
to send the open_packet. My Breakpoint asserts, if the received response in 
data has a SSH_FXP_STATUS code.

Here's what I get after several test runs (remember, approx. each 40th file 
fails):

Last sent open_request_packet:

0x00D540C8  00 00 00 44 03 00 00 00 0f 00 00 00 2f 2f 76 61  ...D........//va
0x00D540D8  72 2f 77 77 77 2f 68 74 6d 6c 2f 74 65 73 74 66  r/www/html/testf
0x00D540E8  69 6c 65 73 2f 61 77 75 72 66 2f 53 32 4e 65 74  iles/awurf/S2Net
0x00D540F8  2f 63 75 72 6c 6c 69 62 2e 64 6c 6c 00 00 00 1a  /curllib.dll....
0x00D54108  00 00 00 04 00 00 81 a4 00 00 81 a4 00 00 00 00  .......¤...¤....

open_response_packet:

0x01348720  65 00 00 00 0e 00 00 00 00 00 00 00 07 53 75 63  e............Suc
0x01348730  63 65 73 73 00 00 00 00 cd cd cd cd cd cd cd cd  cess....ÍÍÍÍÍÍÍÍ

The most weird thing is that the response has a request-id (0x0000000e) that 
differs by one from the request's original id (0x0000000f). So, what's getting 
screwed up here?

-Andreas


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to