sftp_readdir

@brief Get a single file attributes structure of a directory.

@param session The sftp session handle to read the directory entry. @param dir The opened sftp directory handle to read from.

@return A file attribute structure or NULL at the end of the directory.

@see sftp_opendir() @see sftp_attribute_free() @see sftp_closedir()

Meta