cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: The FTP problem that turns out to be SFTP

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 6 Jan 2012 08:50:33 -0800

On Fri, Jan 06, 2012 at 10:09:40AM +0100, Daniel Stenberg wrote:
> $ curl -v -T README sftp://localhost/root/ -u myownuser:
> curl: (9) Upload failed: Permission denied (3/-31)
> $ echo $?
> 9
>
> I also tried with a missing target directory and then I get
>
> curl: (78) Upload failed: No such file or directory (2/-31)
>
> My tests run on linux using the git version against an OpenSSH_5.9p1 server.

Tests 615 and 622 test similar sftp upload failures.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-06