cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_CREATE_MISSING_DIRS and empty folders

From: Silex <silex0r_at_gmail.com>
Date: Sat, 18 Feb 2006 17:57:30 +0100

Hello,

I just wanted to signal that when you set CURLOPT_CREATE_MISSING_DIRS and
you transfer an empty folder ( with an url like ftp://server.com/path/ ), it
stores a file named (nil).

To get rid of that you must set CURLOPT_NOBODY to 1.

I don't know if it's something intended, and as there's a work around it's
not much a problem for me, but I thought you might be interested :)
Enjoy your day

Philippe Vaucher
Received on 2006-02-18