cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Daniel Stenberg <daniel_at_haxx.se>
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!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-02-07