ssh2_sftp_stat

PECL ssh2 >= 0.9.0
ssh2_sftp_stat - Stat a file on a remote filesystem
Manual
Code Examples

ssh2_sftp_stat( resource$sftp, string$path ): array

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 and returns the same values.

Parameters

sftp

An SSH2 SFTP resource opened by ssh2_sftp.

path

Return Values

See the documentation for stat for details on the values which may be returned.

Related Functions

Example of ssh2_sftp_stat

Show all examples for ssh2_sftp_stat

PHP Version: