Subject: Re: Check if LIBSSH2_SFTP_ATTRIBUTES points to a directory.

Re: Check if LIBSSH2_SFTP_ATTRIBUTES points to a directory.

From: niXman <i.nixman_at_gmail.com>
Date: Mon, 24 Sep 2012 17:20:32 +0400

2012/9/24 Alexander Lamaison:

> That struct is modelled on a standard Unix 'stat' buffer. See some
> code here [1] that extracts the file type from it using the #defines
> in libssh2.
>
> [1] https://github.com/alamaison/swish/blob/master/ssh/sftp.hpp#L464
>
> Alex

Thank you.

-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-09-24