cURL / Mailing Lists / curl-users / Single Mail


Re: Multiple Upload to FTP AND Bracket chars AND -g option

From: Daniel Stenberg <>
Date: Sat, 7 Feb 2009 23:16:33 +0100 (CET)

On Sat, 7 Feb 2009, Hagimeno wrote:

> I added the -g option to my CLI command but using it with multiple upload
> like -T {file[001].jpg,file2} fails if path of file contains brackets. How
> can I quote these brackets? Somebody can give me an example?

It doesn't seem to be possible! I think we need to make sure brackets etc can
be entered in an escaped way when globbing is enabled. A work-around is of
course to rename the local file to not use those characters.

I'll welcome help and patches!

List admin:
Received on 2009-02-07