cURL / Mailing Lists / curl-users / Single Mail


RE: Uploading multiple files

From: Daniel Stenberg <>
Date: Sun, 26 Jun 2005 19:44:43 +0200 (CEST)

On Sun, 26 Jun 2005, Clayton, Richard wrote:

> curl -T E:\test2.txt -T E:\test4.txt -T E:\test6.txt -u user:pass

> If anyone knows of a better way I would be most grateful.

There is no other way if you use multiple -T options, but you can use a single
-T with multiple files like this:

   curl -T '{file1,file2,file3}'

  Commercial curl and libcurl Technical Support:
Received on 2005-06-26