cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Extreme newbie question re: uploading from stdin fails to deliver expected content

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 21 Feb 2004 19:42:05 +0100

"Paul J Travers" <p.travers_at_rfc.ucl.ac.uk> said:
 
> The command string I have is:
> curl -s whatismyip.com | grep "Your IP is" | curl -T - -u <user:pwd>
> http://idisk.mac.com/pjtravers/Documents/myIP.html

'-s' means silent. So try
curl -so- whatismyip.com | grep "Your IP is" ..

--gv
Received on 2004-02-21