curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Non Buffered Send & Receive

From: Naitik Shah via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 23 Jun 2024 21:53:57 +0400

Ah, wonderful. This command works, except the `--silent` flag seems to not
suppress the progress meter:

    curl \
      --silent \
      --no-buffer \
      --http2-prior-knowledge \
      --header "X-Caddy-SSH: 1" \
      --upload-file . \
      https://myserver.com

It's a bit odd though, because when I try the command standalone with a
`echo hello |` pipe, it doesn't show me a progress meter. Here's a
non-working but progress meter producing sample:

    ssh -oProxyCommand="curl --silent --no-buffer --http2-prior-knowledge
--header 'X-Caddy-SSH: 1' --upload-file . https://echo.free.beeceptor.co"
foo

The above command shows a progress meter - shouldn't the `--silent` flag
prevent that?


-Naitik


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-06-23