cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Uploading multiple files

From: <uria_at_uriaa.com>
Date: Sun, 26 Jun 2005 14:06:50 -0400

The issue is that I have a large and dynamic list of files is my local
directory.
I can't possibly create a single command for all of them.

I could use this command if there was an option to ignore non-existing
files:
curl -T 'img[0-9999].jpg' ftp://upload.com/

Is there such an option?

> 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}' ftp://upload.com/
Received on 2005-06-26