cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP site command with 19 RETR response:

From: Milan P. Stanic <mps_at_arvanta.net>
Date: Sun, 30 May 2010 00:42:39 +0200

Hi Daniel,

On Sat, 2010-05-29 at 22:52, Daniel Stenberg wrote:
> On Fri, 28 May 2010, Milan P. Stanic wrote:
> >My question is: is there a way to get the clean (i.e. zero)
> >response from perform function in case when we don't need any data
> >from the server?
> You'd be much better off asking about libcurl on the curl-library
> mailing list instead of the list for the curl tool.

I thought to ask on the curl-library but I was not sure.
 
> You can prevent a data transfer by using the CURLOPT_NOBODY option.

It works.

Thank you very much for your help.

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.
-------------------------------------------------------------------
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 2010-05-30