cURL / Mailing Lists / curl-users / Single Mail

curl-users

SV: SV: Curl 7.12.3 om Mac OSX

From: Gunno Ivansson <gunno.ivansson_at_srv.se>
Date: Tue, 21 Dec 2004 13:30:47 +0100

I have installed 7.12.3 but I must be using the wrong syntax trying to send
multiple files. This is what I used:

/usr/local/bin/curl -T {GIV.jpg,GIV.psd} -u myUser:myPW ftp://194.XX.XX.XX/

What am I doing wrong?

Thanks
Gunno Ivansson

Den 04-12-21 11:58, skrev "Daniel Stenberg" <daniel-curl_at_haxx.se>:

> On Tue, 21 Dec 2004, Gunno Ivansson wrote:
>
>> I still have my old Mac and did an install at the default location
>> /usr/local. I am new to this Unix stuff, but won't I have two version of
>> curl?
>
> Yes, since the first one is probably in /usr/bin and your new one in
> /usr/local/bin.
>
>> When I checked the version it showed 7.10.2. How can I be sure to use the
>> new curl?
>
> Use the full path to it, or edit your PATH variable to contain /usr/local/bin
> before /usr/bin.
>
>> Can I upload multiple files in a single command with 7.12.3?
>
> Yes.
>
>> With my current version I tried curl -T {file1,file2} --- but only file1 was
>> uploaded.
>
> Yes, this feature was added to curl after 7.10.2.
Received on 2004-12-21