cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fill Error msg

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 27 Feb 2002 09:54:37 +0100 (MET)

On Wed, 27 Feb 2002, raoul cridlig wrote:

> Sorry, it's when u do a quote command, that the prog is listing directory.

It doesn't necessarily list a directory when you "do" quote commands.

Quote commands set with CURLOPT_QUOTE are issued before a transfer takes
place. The transfer could be a directory list, but it could also just be a
file, an upload or an attempt to get a *missing* file (thus it wouldn't
transfer anything).

> Is it possible to prevent it from listing dir ?

Yes, set CURLOPT_NOBODY to TRUE. This requires at least libcurl 7.9.3 though.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-27