cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl https file upload output

From: Alessandro Vesely <vesely_at_tana.it>
Date: Fri, 16 Nov 2007 18:34:41 +0100

Richard Vasquez wrote:
> CURL_CMD="curl -F upload=@$file -u test_usr:test_pwd -F press=Upload https://some.server.org/ >/dev/null"
>
> `$CURL_CMD`

Naa...

$ FOO="echo echo > /dev/null"
$ $FOO
echo > /dev/null
$ `$FOO`
> /dev/null
$ "<html>"
ksh: <html>: not found
$ echo $?
127
Received on 2007-11-16