@brief Get information about a file or directory.
Identical to sftp_stat, but if the file or directory is a symbolic link, then the link itself is stated, not the file that it refers to.
@param session The sftp session handle. @param path The path to the file or directory to obtain the information.
@return The sftp attributes structure of the file or directory, NULL on error with ssh and sftp error set.
@see sftp_get_error()
See Implementation
@brief Get information about a file or directory.
Identical to sftp_stat, but if the file or directory is a symbolic link, then the link itself is stated, not the file that it refers to.
@param session The sftp session handle. @param path The path to the file or directory to obtain the information.
@return The sftp attributes structure of the file or directory, NULL on error with ssh and sftp error set.
@see sftp_get_error()