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:11:56 +0100 (CET)

On Wed, 14 Feb 2007, James Cook wrote:

> curl -u user:passwd -T /folder1/folder2/file1.txt -T
> /folder3/folder4/file2.txt ftp://ftp.upload.com/myfile

This works if you specify one upload URL for each -T file.

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

This is how it is done, and it should just work. What curl version are you
using and what happens? (using -v is usually a good idea to figure out what
really happens under the hood)

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