curl-library
Re: Can I use libcurl to get full lists of directory
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Sun, 30 Sep 2018 22:57:45 +0200 (CEST)
Date: Sun, 30 Sep 2018 22:57:45 +0200 (CEST)
On Thu, 27 Sep 2018, ½ðÍþ via curl-library wrote:
> My sftp server is built in windows, and I want to get full lists of
> directory on this server. If my server is in Linux , it¡¯s easy. However, I
> don¡¯t know how to do it in windows. If I use FTP, I can use the command
> ¡®MLSD¡¯, but sftp don¡¯t have command like this. Examples will be thankful.
End the URL with a trailing slash and libcurl will return a directory listing:
sftp://user@server/home/user/dir/
-- / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-30