cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: reg:Disable the output option in libcurl

From: <nagarajan.sreenivasan_at_wipro.com>
Date: Thu, 26 Jun 2008 13:24:21 +0530

I dint understand anything DID U

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Dan Fandrich
Sent: Thursday, June 26, 2008 12:48 PM
To: curl-library_at_cool.haxx.se
Subject: Re: reg:Disable the output option in libcurl

On Thu, Jun 26, 2008 at 11:32:34AM +0530,
nagarajan.sreenivasan_at_wipro.com wrote:
> Hi all
>
> A query regarding libcurl
>
> when I coonect to a FTP server using libcurl I am getting connected
> and it runs list all the files in the /home/<user> directory
>
> is there any way that I can switch off the output.

You could simply pass in a URL to something other than the root
directory.
libcurl is going to perform a transfer of some sort, so if by "turning
off"
the output you mean to throw away the output of the directory listing,
then it's pointless to do that transfer to begin with. But you could
certainly do so in your write callback function if desired.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address
service
          Let webmasters know that your web site has moved
Please do not print this email unless it is absolutely necessary. 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 
www.wipro.com
Received on 2008-06-26