cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: The FTP problem that turns out to be SFTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Jan 2012 10:09:40 +0100 (CET)

On Fri, 6 Jan 2012, Michael Lam wrote:

> I believe we have no permission to access that folder.

$ 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.

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