cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: reg:Disable the output option in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Jun 2008 13:52:46 +0200 (CEST)

On Thu, 26 Jun 2008, nagarajan.sreenivasan_at_wipro.com wrote:

>> So why do you do a directory listing in the first place if you don't
>> want to list the contents of that directory?
>
> I am just doing a Connect in ftp mode (the below code). I am geeting the
> directory listing which I don't want .

That's not "a connect" - that's a directory listing transfer. As Linus
explained already, libcurl is pretty transfer-oriented so you specify what you
want transfered and it will transfer it for you.

There's no point to just connect to the server.

-- 
  / daniel.haxx.se
Received on 2008-06-26