curl-users
Re: small error in manual ?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 May 2002 09:01:26 +0200 (MET DST)
Date: Wed, 22 May 2002 09:01:26 +0200 (MET DST)
On Wed, 22 May 2002, Sebastien WILLEMIJNS wrote:
> in "http://curl.haxx.se/docs/readme.curl.html"
>
> --------------
> Upload all data on stdin to a specified ftp site:
> curl -T - ftp://ftp.upload.com/myfile
> --------------
>
> it is logic this "-" twice ?
-T takes a additional file name to upload, using the name "-" makes it upload
from stdin instead of a local file.
That is fully intentional.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/ _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfmReceived on 2002-05-22