From 4e7904930140541052ddce1b42f641526fa7089a Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 1 Jun 2006 21:53:39 +0000 Subject: [PATCH] fix typo in examples (user note) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@214123 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ssh2/functions/ssh2-sftp-lstat.xml | 4 ++-- reference/ssh2/functions/ssh2-sftp-stat.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/ssh2/functions/ssh2-sftp-lstat.xml b/reference/ssh2/functions/ssh2-sftp-lstat.xml index 7241660ed2..a4e997c270 100644 --- a/reference/ssh2/functions/ssh2-sftp-lstat.xml +++ b/reference/ssh2/functions/ssh2-sftp-lstat.xml @@ -1,5 +1,5 @@ - + @@ -34,7 +34,7 @@ $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_password($connection, 'username', 'password'); $sftp = ssh2_sftp($connection); -$statinfo = ssh2_lstat($sftp, '/path/to/symlink'); +$statinfo = ssh2_sftp_lstat($sftp, '/path/to/symlink'); $filesize = $statinfo['size']; $group = $statinfo['gid']; diff --git a/reference/ssh2/functions/ssh2-sftp-stat.xml b/reference/ssh2/functions/ssh2-sftp-stat.xml index eb56599ff4..dfd097d6bc 100644 --- a/reference/ssh2/functions/ssh2-sftp-stat.xml +++ b/reference/ssh2/functions/ssh2-sftp-stat.xml @@ -1,5 +1,5 @@ - + @@ -33,7 +33,7 @@ $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_password($connection, 'username', 'password'); $sftp = ssh2_sftp($connection); -$statinfo = ssh2_stat($sftp, '/path/to/symlink'); +$statinfo = ssh2_sftp_stat($sftp, '/path/to/file'); $filesize = $statinfo['size']; $group = $statinfo['gid'];