let curl output to stdout AND save to a file

hello hackers.

i have a curl process running as cgi directly pushing stdout to the client. but i want to additionally save that stream to a file at the same time.

any directions madly welcome.
thanks in advance

forget this question, it was a stupid idea :):):slight_smile:

but to the curl guru�s here:

i want to let the file i fetch by curl to STDOUT, no problem,

but can i somehow bring the progress-indication to a file?

viceversa is no problem, but....

Does "tee" work for you?

wow thanks