cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with buildlog upload form

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 23 Jun 2004 07:54:18 +0200 (CEST)

On Wed, 23 Jun 2004, Guenter Knauf wrote:

> curl -s -F file=@build.log http://...
>
> is there a way to pipe it without using a file?

Yes, "curl -F file=@-" formposts what you pass to it on stdin.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-06-23