length/size of data received/written with CURLOPT_WRITEFUNCTION

2024-03-28 Thread R C via curl-library
How can one 'find' the total number of bytes reveived and written  with a callback_write function with CURLOPT_WRITEFUNCTION (assuming it might be possible it is called more than once). thanks, Ron -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl

Re: length/size of data received/written with CURLOPT_WRITEFUNCTION

2024-03-28 Thread Ray Satiro via curl-library
On 3/28/2024 2:24 PM, R C via curl-library wrote: How can one 'find' the total number of bytes reveived and written  with a callback_write function with CURLOPT_WRITEFUNCTION Keep track of it yourself by using CURLOPT_WRITEDATA to set the user pointer. See the CURLOPT_WRITEFUNCTION example [