Hello,
I'm using the 0508 libssh2 snapshot with curl's snapshot from 0507. And
from all that I can tell, libssh2 goes into a black hole when it tries
to finish up the SFTP connection.
I can see the file moved across, all the data is present, but the
libssh2 debug output looks like this - and then it just hangs. Curl is
waiting for it to return from the libssh2_sftp_close() call.
So my file is transferred, but the sftp_close() hasn't returned so my
program can't continue on.
I can't imagine that no one has tried to upload with libssh2 over SFTP
with curl, but maybe that is the case. I'm hoping it is a configuration
step I'm missing.
Any ideas?
Thanks so much,
Cary FitzHugh
Anystream, Inc.
..... (Tons of output from the transfer) .....
[libssh2] Transport: Packet type 94 received, length=37
[libssh2] Connection: 28 bytes received for channel 0/0 stream #0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Reading 4 of buffered data from 0/0/0
[libssh2] SFTP Subsystem: Data begin - Packet Length: 24
[libssh2] Connection: Attempting to read 24 bytes from channel 0/0
stream #0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Setting blocking mode on channel 0/0 to 0
[libssh2] Connection: Reading 24 of buffered data from 0/0/0
[libssh2] Connection: Unlinking empty packet buffer from channel 0/0
[libssh2] Connection: Queueing 28 bytes for receive window adjustment
for channel 0/0
[libssh2] SFTP Subsystem: Received packet 101
[libssh2] SFTP Subsystem: Asking for 101 packet
[libssh2] Connection: Freeing channel 0/0 resources
[libssh2] Connection: Closing channel 0/0
=> libssh2_packet_write plain (5 bytes)
0000: 61 00 00 00 00 a....
=> libssh2_packet_write send() (36 bytes)
0000: f4 e1 81 28 a1 76 25 b5 6b 28 35 3c ac b4 f0 86 ...(.v%.k(5<....
0010: ba 6a 45 5f 11 19 b3 7a 20 e8 51 d0 db 78 c1 48 .jE_...z .Q..x.H
0020: 10 83 fa e0 ....
[libssh2] Connection: Setting blocking mode on channel 0/0 to 1
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-05-08