cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with CURLOPT_FTP_CREATE_MISSING_DIRS + SFTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 10 Mar 2012 22:12:55 +0100 (CET)

On Fri, 24 Feb 2012, Антон Бычков wrote:

> I can't get CURLOPT_FTP_CREATE_MISSING_DIRS working with SFTP protocol. It
> is supported since 7.16.3 according to the documentation. I use 7.21.7.
>
> When I try to request, for example
> 'sftp://192.168.0.114:22/home/username/TEST/newfolder/', a call to
> curl_easy_perform returns CURLE_REMOTE_FILE_NOT_FOUND.
>
> The same code with ftp (non-SSH I mean) protocol works fine.
>
> Am I missing something?

We are certainly missing a lot of debug/verbose traces that would help us
answer this. CURLOPT_FTP_CREATE_MISSING_DIRS is supposed to work for FTP,
sure, but there might be bugs and there might be other explanations for it not
working for you.

-- 
  / daniel.haxx.se

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