Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83814 invoked by uid 1010); 20 Apr 2007 15:18:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83799 invoked from network); 20 Apr 2007 15:18:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2007 15:18:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:24350] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/E2-54915-2D9D8264 for ; Fri, 20 Apr 2007 11:18:43 -0400 Received: (qmail 21083 invoked from network); 20 Apr 2007 15:18:38 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 20 Apr 2007 15:18:38 -0000 Message-ID: <4628D9CD.6000809@zend.com> Date: Fri, 20 Apr 2007 19:18:37 +0400 User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: noah CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS From: antony@zend.com (Antony Dovgal) On 04/20/2007 07:08 PM, noah 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. In which cURL version did it appear first? > 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. Could you please send unified diff? Thanks. -- Wbr, Antony Dovgal