Discussion:
Optimal way to do directory listing
Kannamraju P
2018-10-04 15:30:28 UTC
Permalink
Hi All,

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.

Any pointers would be appreciated.
--
thanks & Regards,
Raju
Daniel Stenberg
2018-10-06 21:50:25 UTC
Permalink
Post by Kannamraju P
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/l
Continue reading on narkive:
Loading...