cURL / Mailing Lists / curl-users / Single Mail


Re: reading a log file while open

From: Daniel Stenberg <>
Date: Fri, 22 Apr 2016 08:17:56 +0200 (CEST)

On Fri, 22 Apr 2016, Francisco Gonzalez Velasco wrote:

> C:\>curl -o c:\q\events.txt -k -H "Authorization: Bearer My_Authorization" "
> I need to read the contents of the events.txt file while the cURL process is
> still active.
> Is this possible?

That's not curl making it hard, that's Windows for you. Any other operating
system would let you read the file while another process is writing to it...

So, you need to consider a work-around. Maybe pipe curl's output into your
programs stdin isntead? Or maybe consider using libcurl and get the data
downloaded directly within your application?

List admin:
Received on 2016-04-22