ssh2_sftp_lstat

PECL ssh2 >= 0.9.0
ssh2_sftp_lstat - Stat a symbolic link
Manual
Code Examples

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

Stats a symbolic link on the remote filesystem without following the link.

This function is similar to using the lstat function with the ssh2.sftp:// wrapper and returns the same values.

Parameters

sftp

An SSH2 SFTP resource opened by ssh2_sftp.

path

Path to the remote symbolic link.

Return Values

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

Related Functions

Example of ssh2_sftp_lstat

Show all examples for ssh2_sftp_lstat

PHP Version: