ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS
| From: | noah | Date: | Fri, 20 Apr 2007 15:08:43 +0000 |
| Subject: | ext/curl/interface.c and CURLOPT_FTP_CREATE_MISSING_DIRS | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-28936@lists.php.net to get a copy of this message | ||
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