cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: regression or bug in FTP CWD function ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 27 May 2012 00:25:39 +0200 (CEST)

On Sun, 27 May 2012, Sebastien WILLEMIJNS wrote:

> sorry the main report did not contain the uploaded file, it was with
> "curl.exe -K c:\curl.cfg -T "favicon.ico"
>
> now i add it on CFG file and the trouble still remains :-(
>
> url="ftp://pf3.free-h.org/httpdocs"

Yes, because you still point out that 'httpdocs' as a file, not as a
directory. Try:

   url="ftp://pf3.free-h.org/httpdocs/"

I.e with a trailing slash. Or add the full path to the target file:

   url="ftp://pf3.free-h.org/httpdocs/favicon.ico"

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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-27