curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

Re: more output options than URLs?

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 28 Apr 2024 23:12:22 +0200 (CEST)

On Sun, 28 Apr 2024, Paul Gilmartin via curl-users wrote:

> curl 26+ curl --location --output example.com --time-cond '31 Dec 2037'
> --write-out '%{filename_effective}' --remote-name --remote-header-name
> https://example.com
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> Warning: Got more output options than URLs
>
> What am I missing?

You provide a single URL but two output options: --output and --remote-name

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-04-28