Hi all, Here is the function: int libssh2_sftp_readdir_ex(LIBSSH2_SFTP_HANDLE *handle, char *buffer, size_t buffer_maxlen, char *longentry, size_t longentry_maxlen, LIBSSH2_SFTP_ATTRIBUTES *attrs); From man page description, buffer and longentry seem to both recv the file name from ftp server. What's the difference between them? If I want to get a file list by 'ls' command in ftp client, which one should I read file name from?
Thanks for any help. Samuel Zhao
_______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel