www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Distinguishing directories versus files

Distinguishing directories versus files

From: Michael Loutris <mloutris_at_comcast.net>
Date: Thu, 22 Oct 2020 15:43:33 -0500 (CDT)

I was successful in retrieving the contents of a server's directory, but when I looked at the attributes, I didn't see anyway to identify a directory versus normal files. I am working on SFTP communication between to Windows devices.
Is there a way to tell an ordinary file from other file types when requesting the directory contents via SFTP with libssh2?

Thank you

libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2020-10-22

the libssh2 team