ssh2_sftp_stat

ssh2_sftp_stat

(PECL ssh2 >= 0.9.0)

ssh2_sftp_statStat a file on a remote filesystem

Description

array ssh2_sftp_stat ( resource $sftp , string $path )

Stats a file on the remote filesystem following any symbolic links.

This function is similar to using the stat() function with the ssh2.sftp:// wrapper in PHP 5 and returns the same values.