cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: URLs containing spaces

From: HART, CHRISTOPHER T <christopher.t.hart_at_bankofamerica.com>
Date: Mon, 07 Feb 2005 13:43:32 -0500

Use %20 in place of spaces (for example, --url https://domain/directory/.../c%2020d.xls). Otherwise, curl will interpret what follows the space as a command line argument (and most servers require special characters, like a space, to be escaped.)

Chris

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se]On Behalf Of David Stephenson
Sent: Monday, February 07, 2005 1:32 PM
To: curl-users_at_cool.haxx.se
Subject: URLs containing spaces

I am using a config file, and I specify

--url https://domain/directory/.../c 20d.xls

I've tried it in quotes I still get the same message "the parameter is
incorrect"
It works with other .xls files that do not contain spaces.
Received on 2005-02-07