Re: ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS

From: Date: Sat, 21 Apr 2007 10:48:03 +0000
Subject: Re: ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28945@lists.php.net to get a copy of this message
On 4/20/07, noah <noah123@gmail.com> wrote:
Could someone please add support for CURLOPT_FTP_CREATE_MISSING_DIRS in PHP's curl extension? I'd report it as a bug if bugs.php.net wasn't down. The file that needs to be modified is ext/curl/interface.c. 1. Add CURLOPT_FTP_CREATE_MISSING_DIRS as a PHP constant. 2. Add a 'case CURLOPT_FTP_CREATE_MISSING_DIRS:' to the curl...setopt() function right above the cases where the argument is of the type long. -- noah
I reported a patch a few weeks ago, also about CURL functions, because it seems that there are missing a lot CURLOPT_ constants. The libcurl library has a lot more constants. I would be happy to create a patch that adds all currently supported CURLOPT_ constants by the library, but i don't want to waste my time on creating things that never get implemented :) Tijnema

« previous php.internals (#28945) next »