cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: new -T. option

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Nov 2009 08:28:38 +0100 (CET)

On Wed, 4 Nov 2009, Sebastien WILLEMIJNS wrote:

>> Eric Wong introduced support for the new option -T. (dot) that makes curl
>> read stdin in a non-blocking fashion.
>
> I use classical FTP upload ("curl ftp://dl.free.fr -T 10MB.TST -u
> user_at_free.fr:qwertytest -v -C -") what will be the changes for this kind of
> use with the dot ?

It says it "makes curl read stdin in a non-blocking fashion".

So you would pass the upload on stdin:

  curl ftp://dl.free.fr -T. -u user@free.fr:qwertytest < 10MB.TST

This said, I don't see any particular benefit of doing non-blocking uploads to
an ftp server.

> A still no infos on the "man curl" online

Look again. The online man page has mentioned this feature since we committed
it, months ago.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-05