Subject: Re: Getting filetype

Re: Getting filetype

From: Daniel Stenberg <>
Date: Sun, 11 Apr 2010 11:00:28 +0200 (CEST)

On Thu, 8 Apr 2010, Jose Baars wrote:

> If you test attrs.permissions with S_ISDIR, you find out if it is a
> directory or not, like this :

I don't like to depend on a system macro such as S_ISDIR to check for
libssh2-specific bits, so I'm gonna introduce a set of LIBSSH2_SFTP_S_IS***()
macros that mirror the functionality.

And I'll add something to the man page for libssh2_sftp_fstat_ex() about it

Received on 2010-04-11