cURL / Mailing Lists / curl-users / Single Mail


Re: wildcards for uploads (was: how to avoid ftp automatic redirects)

From: Daniel Stenberg <>
Date: Thu, 11 Oct 2007 11:06:47 +0200 (CEST)

On Wed, 10 Oct 2007, Seb wrote:

> On a different issue, can one tell curl to upload entire directories?


> Can this be done in a single call to curl with the -T flag?
> I instinctively thought:
> curl -T ~/www/{include,tracks}/* ftp://upload/path
> but the star wildcard is not what I expected from shell expansions.

There's (currently) no support for that kind of wildcard operations in curl.

  Commercial curl and libcurl Technical Support:
Received on 2007-10-11