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

Issue Type: Task Created: 2009-08-05T06:18:14.000+0000 Last Updated: 2009-08-05T06:56:32.000+0000 Status: Closed Fix version(s): Reporter: Stefan Scherzer (hellfish13) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: Attachments:


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


Posted by Shahar Evron (shahar) on 2009-08-05T06:25:42.000+0000


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… 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.


Posted by Shahar Evron (shahar) on 2009-08-05T06:27:25.000+0000

BTW take a look at… - esp. at how you can pass CURL-specific options to the adapter.


Posted by Stefan Scherzer (hellfish13) on 2009-08-05T06:41:55.000+0000

Thank you for your answer.

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

Posted by Shahar Evron (shahar) on 2009-08-05T06:55:22.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.