Subject: Re: Optimal way to do directory listing

Re: Optimal way to do directory listing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 6 Oct 2018 23:50:25 +0200 (CEST)

On Thu, 4 Oct 2018, Kannamraju P wrote:

> I am trying to do remote directory listing . If I use
> "libssh2_sftp_opendir" and get details using libssh2_sftp_readdir ,I get
> file details one after the other . With latency in network this is verify
> slow . Is there any better way of doing this using libssh2.

That's the only API libssh2 provides for this feature today. It is certainly
not optimized for high-RTT connections...

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2018-10-06