cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to avoid multiple CWD for each file download

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 19 Jun 2013 12:42:23 -0500

On Wed, Jun 19, 2013 at 5:48 AM, Anders Havn <anders.havn_at_gmail.com> wrote:

> This means that the command CWD is done three times for each file. This is
> properly not good for performace, so how do I avoid this?

With CURLOPT_FTP_FILEMETHOD, see:

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTFTPFILEMETHOD

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-06-19