cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl -T

From: kalin m <kalin_at_el.net>
Date: Wed, 02 May 2012 14:52:46 -0400

On 5/1/12 11:25 PM, bruce wrote:
> can you attempt to download a later version of the underlying libs?

it's a pretty old machine. it hasn't been touched or restarted for about
3 - 4 years now. and it has some stuff like php build with curl in it.
it's all manual/src installs. not sure if something would brake. i'll
try first installing all the newer stuff somewhere else and see how
much, if at all, stuff gets affected and if the newer builds solve this
79 thing.... then might be worth it to rebuild some stuff.

i'll report if any progress...

>
>
> On Tue, May 1, 2012 at 10:12 PM, kalin m <kalin_at_el.net> wrote:
>>
>> On 5/1/12 1:48 PM, Daniel Stenberg wrote:
>>> On Mon, 30 Apr 2012, kalin m wrote:
>>>
>>>> recently i came across a situation where i get this:
>>>>
>>>> # curl -vvvv -T some_file user:pass sftp://ftp.server.com/dir/
>>>
>>> One -v is enough, multiple ones makes no difference...
>>>
>>> But you didn't say which curl version and which libssh2 version it is
>>> using.
>>
>> curl 7.16.3 libcurl/7.16.3 OpenSSL/0.9.8h zlib/1.2.3 libssh2/0.17
>>
>>
>>>
>>>> curl: (79) Could not open remote file for writing: Operation failed
>>>
>>> That's likely a problem with libssh2 or at least it is related to the
>>> SSH protocol layer.
>>
>> probably it is.
>>
>>> Can you retrieve files with curl from that same SFTP server so that the
>>> problem is only related to upload?
>>
>> just tested retrieving. same error 79.
>>
>>>
>>
>>
>> thanks.
>> -------------------------------------------------------------------
>> List admin: http://cool.haxx.se/list/listinfo/curl-users
>> FAQ: http://curl.haxx.se/docs/faq.html
>> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-02