cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: libcurl and libssh2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 23 Oct 2009 11:37:13 +0200 (CEST)

On Fri, 23 Oct 2009, Xu, Qiang (FXSGSC) wrote:

> Although "ls" is not among the quote commands, the content of a folder can
> be displayed by a simple sftp connection:

Yes, by ending the URL with a slash.

> My question is, what function and which parameter of it can be used to get
> this output when libcurl is used?

The same way: by ending the URL with a slash.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-23