curl-and-php
RE: retreive partial transfer after timeout
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 13 Dec 2002 14:45:02 +0100 (MET)
Date: Fri, 13 Dec 2002 14:45:02 +0100 (MET)
On Thu, 12 Dec 2002 theexperts_at_allprodirect.com wrote:
> So if I understand correctly: someone would modify how the PHP/CURL module
> handles errors, this would be a new version of CURL, or a patch, and would
> have to be installed on the server? (In my case, I would have to convince
> my web host to install it.)
Right.
> I am wondering if writing to a file (i.e. curlopt_file) behaves
> differently, capturing any partial transfer. If so, I could change my php
> program to handle it that way.
It will be different, since I doubt very much that the php/curl module will
remove the file in case of errors (if it even can). I guess it just leaves
it, and that is what libcurl does too.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/Received on 2002-12-13