curl-library
Re: Feature-Request for libcurl, was: Making a directory
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Dec 2001 10:48:55 +0100 (MET)
Date: Wed, 19 Dec 2001 10:48:55 +0100 (MET)
On Mon, 17 Dec 2001, Guido Neitzer wrote:
> This is a feature request for libcurl.
>
> I use libcurl to do some ftp-stuff in my application. For example I have
> to create some directories and libcurl downloads the directory listing for
> the URL I have specify and I want to avoid this with an option like this:
> curl_easy_setopt (curl, CURLOPT_COMMANDS_ONLY, TRUE);
Hm, I'm having a hard time to make up my mind on this.
What would you say about a more generic approach? Like a way to prevent
libcurl from issueing specific FTP commands.
To prevent a download, you'd tell curl to skip PASV and RETR.
Or would that be making things more flexible than they need to be?
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2001-12-19