cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Wildcards

From: Frank Reid <fcreid_at_ourcorner.org>
Date: Thu, 11 Jan 2001 04:50:38 -0500

That did it! Thanks, as always.

Frank

-----Original Message-----
From: owner-curl_at_contactor.se [mailto:owner-curl_at_contactor.se]On Behalf
Of Daniel Stenberg
Sent: Thursday, January 11, 2001 01:50
To: Curl Mailinglist
Subject: Re: Wildcards

On Wed, 10 Jan 2001, Frank Reid wrote:

> Another question. Will curl use the shorthand file-naming conventions
> within the --request directive?

No, the --request is strictly limited to the single request keyword only.

> In other words, would something like this work:
>
> --url http://yoursite.com/file[0-100].TXT
> --request "DELETE http://yoursite.com/file[0-100].TXT"

This ought to work:

 curl --url http://yoursite.com/file[0-100].TXT --request DELETE

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2001-01-11