cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Globbing Problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Feb 2007 22:19:33 +0100 (CET)

On Wed, 14 Feb 2007, Daniel Stenberg wrote:

>> curl -u user:passwd -T "{/folder1/folder2/file1.txt,
>> /folder3/folder4/file2.txt}" ftp://ftp.upload.com/myfile
>
> This is how it is done

I stand corrected by Jochen Hayek's note that the "target URL" specifies a
file name here so both these transfers will upload to the same target file.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-02-14