cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Handling FTP servers that indicate backslash as CWD

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 11 Feb 2015 09:14:58 +0100

On Wed, Feb 11, 2015 at 12:38:00AM -0500, John Coffey wrote:
> Does anyone know of a way to avoid the automatic CWD command in libCurl,  as I
> am connecting to an FTP server that indicates "\" is current working
> directory.  I am only uploading files to this server, so I do not need to know
> the current working directory.   

The CURLOPT_FTP_FILEMETHOD option has a CURLFTPMETHOD_NOCWD that does this.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-11