cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp upload - curl error 79 Error in the ssh layer

From: Petr Ent <petr.ent_at_gmail.com>
Date: Thu, 20 Mar 2014 13:28:24 +0100

I assumed that since command line curl accepted target path without
the filename, library would behave the same. Clearly I was wrong :).
Anyway, I think something like "In upload mode, CURLOPT_URL must
contain full path including filename" would help a lot.

On Thu, Mar 20, 2014 at 11:58 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 20 Mar 2014, Petr Ent wrote:
>
>> Wow, it actually did the trick, the upload is finished with no errors.
>> Thanks you for this hint. It might be worth mentioning it here
>
>
> Any suggestion on exactly how that would be phrased?
>
> libcurl always uses the exact URL you specify so you need to tell the full
> one, either as a destination like in your case or as a source when _getting_
> data.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-20