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: Curl's -O option doesn't support multiple URLs for saving them as separate files.

From: Hongyi Zhao via curl-users <curl-users_at_cool.haxx.se>
Date: Sun, 19 Jul 2020 18:12:28 +0800

Ok, thanks.

On Sun, Jul 19, 2020 at 3:32 PM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Sun, 19 Jul 2020, Hongyi Zhao via curl-users wrote:
>
> > I try to use the -O option for multiple URLs as following:
> >
> > $ curl -x socks5://127.0.0.1:18887 -O
> > https://www.quantum-espresso.org/upf_files/H.pbe-rrkjus.UPF
> > https://www.quantum-espresso.org/upf_files/O.pbe-rrkjus.UPF
>
> You need one -O (or -o) for each given URL, or consider --remote-name-all.
>
> --
>
> / daniel.haxx.se | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://www.wolfssl.com/contact/

-- 
Hongyi Zhao <hongyi.zhao_at_gmail.com>
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-07-19