Archive Index
This month's Index
|
Subject: [libssh2] Patch to report the remote error message when using scp
[libssh2] Patch to report the remote error message when using scp
From: Gavrie Philipson <gavrie_at_philipson.co.il>
Date: Wed, 4 Jul 2007 17:08:48 +0300
Hi,
I'm using libssh2 (incidentally, together with curl) to upload a file
The attached patch reads the remote error message, and reports it in a
To see its effect, when using curl normally, this is what happens on a
Without the patch:
curl -T /etc/shadow scp://user:pass_at_hostname/etc/shadow
With the patch:
curl -T /etc/shadow scp://user:pass_at_hostname/etc/shadow
PS: To make curl print the error, I've generated a simple patch to
-- Gavrie
-------------------------------------------------------------------------
_______________________________________________
|