Re: [libssh2] R: Transferring large files with SCP fails

2007-11-08 Thread Gavrie Philipson
Daniel Stenberg <[EMAIL PROTECTED]> writes: ... > Anyway, since these changes didn't fix the problem you see we should rather > dive in and start debugging your case I guess. I'm a bit limited on time > myself why I haven't made much sound about this issue so far. My time limit > makes me focus on

Re: [libssh2] R: Transferring large files with SCP fails

2007-11-03 Thread Gavrie Philipson
Antonio <[EMAIL PROTECTED]> writes: > > Hi, > > I experienced a similar problem with libssh2 and I had to recompile it with > the latest libssh2 version present in CVS ( if I remember correctly there > was a bug on channel.c corrected using a workaround, last august). > Try to re-compile it wit

[libssh2] Transferring large files with SCP fails

2007-11-01 Thread Gavrie Philipson
Hi, I'm trying to transfer large files with the SCP protocol, using cURL together with libssh2. My curl SCP transfer hangs after 192 kB: $ curl -T /tmp/1 scp://test:[EMAIL PROTECTED]/tmp/1 % Total% Received % Xferd Average Speed TimeTime Time Current

Re: [libssh2] Patch to report the remote error message when using scp

2007-07-05 Thread Gavrie Philipson
Jim, Works great, thanks for the quick response. -- Gavrie On 7/5/07, James Housley <[EMAIL PROTECTED]> wrote: ... > Looking more it seems that it probably shouldn't return > PACKET_EAGAIN, because we should be reading from a packet we already > received. But, I did a more complete patch that a

[libssh2] Patch to report the remote error message when using scp

2007-07-04 Thread Gavrie Philipson
Hi, I'm using libssh2 (incidentally, together with curl) to upload a file to a remote host using the SCP protocol Now, if the remote side returns an error message such as "Permission denied" or "No such file or directory", it is not reported by libssh2. Instead, the generic message "Invalid ACK r