cURL / Mailing Lists / curl-users / Single Mail

curl-users

Globbing Problem

From: James Cook <jac_at_HSLtd.us>
Date: Wed, 14 Feb 2007 09:47:33 -0500

I'm successfully uploading a file at a time, but any time I try to
glob files, only the first one is uploaded.

Formats I've tried:

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

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

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

Any pointers on where I've gone wrong would be most appreciated.

-- 
James Cook
Received on 2007-02-14