cURL / Mailing Lists / curl-users / Single Mail

curl-users

file globbing and ftp quoting

From: David Bonham <davidbon_at_prevea.com>
Date: Wed, 12 Jan 2005 17:05:19 -0600

curl 7.12.3

Is there a way make a QUOTE command execute after the transfer of ALL files when using file globbing?

For instance, the following command will make the "TransferComplete" directory right after the first file in the file glob is transferred. It executes the quote command after the transfer of each file in the file glob.
 curl -u username:pass -Q -"MKD /TransferComplete" --upload-file "{file3,file2,file1}" ftp://server/directory

I'd like the quote command to execute after all the files in the glob have been transferred (using the same curl invocation). Is this possible? Did I miss something in the curl manual?

Thanks.
Received on 2005-01-13