Re: curl extension downloads 1 byte only from zip files
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: curl extension downloads 1 byte only from zip files

From: Hilarion <hilarion@SPAM.op.SMIECI.pl>
Date: Thu Jul 14 2005 - 18:09:31 CEST

> Interestingly I have knocked up a solution using fsockopen which works
> with the data, although I would still prefer to use curl as I am using
> it for other parts of my application.

You may try using curl_setopt with CURLOPT_WRITEFUNCTION and writing
your own function handling data retrieval.

Hilarion
Received on Mon Oct 24 02:08:44 2005