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.

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 14:30:14 +0800

Hi,

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
https://www.quantum-espresso.org/upf_files/P.pbe-n-van.UPF
https://www.quantum-espresso.org/upf_files/Zr.pbe-nsp-van.UPF

But only the first file is saved, all the others are output to stdout.
Any hints for this problem?

Regards,

-- 
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