cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Possible to send a FTP command without doing a directory listing?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 14 Mar 2013 09:16:15 +0100

On Thu, Mar 14, 2013 at 01:49:14AM -0500, Paul Pearcy wrote:
> My issue is that I canĒt figure out how to send a FTP control command without
> also doing a directory listing or a file operation. Is it possible to send a
> control command (eg, PWD) without also performing a directory listing on an
> already open handle that is idle? IĒve played around with QUOTE command (that
> does a dir listing), though.

Setting CURLOPT_NOBODY should do this.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-14