cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: regression or bug in FTP CWD function ?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sun, 27 May 2012 00:44:18 +0200

On Sun, May 27, 2012 at 12:22:29AM +0200, 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"

If this is supposed to be a directory, then it needs to end with a
slash. Otherwise, there's no way for curl to tell if you expect it
to be a directory or the name of the uploaded file as it is to exist on
the server.

>>> Dan
-------------------------------------------------------------------
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