cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ftp upload multiple files

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 15 Dec 2004 09:57:29 +0100 (CET)

On Wed, 15 Dec 2004, Tom Lee wrote:

> c:\>curl -v -T "{c:\myhome\data\zipr\ARQ12.zip,c:\myhome\data\zip\ARB12.zip}"
> -uusername:password
> ftp://10.10.10.105/usr/home/directory/
>
> curl: (3) [globbing] illegal pattern at pos 4
>
> How to fix it?

This is a curl bug. I'll fix this in the next version.

A work-around for you is to first cd to the c:\myhome\data\zipr dir and then
upload -T "{ARQ12.zip,ARB12.zip}"

The backslash is what causes the confusion.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-15