| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Is there a CURLOPT_DIRLISTONLY option for SFTP?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 28 Jun 2010 23:15:38 +0200 (CEST)
On Mon, 28 Jun 2010, O'Loughlin, Anthony (H USA) wrote:
> I'm trying get a list of files only from a UNIX machine VIA SFTP. I'm using
Short answer: no
Longer answer:
In SFTP, the CURLOPT_DIRLISTONLY option is controlled entirely by libcurl code
In FTP, there's just no way of knowing if you get only files or directories
Ideally, the (FTP) wildcard feature of libcurl should be brought to SFTP as
Another, slightly less nice, option would be to introduce a new option that
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-06-28 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info