cURL / Mailing Lists / curl-users / Single Mail

curl-users

Cannot make -o download files with {} qualifier

From: Michael-O <1983-01-06_at_gmx.net>
Date: Fri, 8 Nov 2013 14:21:59 +0100 (CET)

Hi,

I am trying with curl

curl 7.33.0 (x86_64-unknown-linux-gnu) libcurl/7.33.0 OpenSSL/1.0.0 zlib/1.2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IPv6 Largefile NTLM NTLM_WB SSL libz

To download multiple files with {} and tell -o to save them to file_#1.html.

I did:

curl --proxy-negotiate -o file_#1.html -U : -x <omitted> http://curl.haxx.se/docs/{manpage,libs}.html

Response is written to stdout and one file named 'file_#1.html' is created. I expected two files: manpage.html and libs.html.

What am I doing wrong? Is that a bug?

Thanks,

Michael
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-08