ZF-7488: Zend_Http_Client_Adapter_Curl: how to get a file without header


How can I get a file with Zend_Http_Client_Adapter_Curl like I do with this code:

$ch = curl_init(); curl_setopt($ch, CURLOPT_FILE, $output_path); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_URL, $url_to_file); curl_exec($ch); curl_close($ch);

Thank you in advance



Are you reporting a bug or asking a question? If this is not a bug, but a usage question, please use the IRC channel (#zftalk @ FreeNode) or mailing lists (See http://framework.zend.com/wiki/display/… for details) to get help.

If this is a bug report, please attach a snippet of code demonstrating the problem, and explain what you expect to get and what you get instead.


BTW take a look at http://framework.zend.com/manual/en/… - esp. at how you can pass CURL-specific options to the adapter.


Thank you for your answer.

This is just a question. I will post my question to the mailing lists.

Ok, I'll close this bug. BTW you should look at the link above before posting to the list- it might be what you're looking for.