cvs: phpdoc /en/reference/ssh2/functions ssh2-sftp-lstat.xml ssh2-sftp-stat.xml
| From: | Nuno Lopes | Date: | Thu, 01 Jun 2006 21:53:39 +0000 |
| Subject: | cvs: phpdoc /en/reference/ssh2/functions ssh2-sftp-lstat.xml ssh2-sftp-stat.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969373158@lists.php.net to get a copy of this message | ||
nlopess Thu Jun 1 21:53:39 2006 UTC
Modified files:
/phpdoc/en/reference/ssh2/functions ssh2-sftp-lstat.xml
ssh2-sftp-stat.xml
Log:
fix typo in examples (user note)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml
diff -u phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml:1.2
phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml:1.3
--- phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml:1.2 Thu Dec 30 05:35:30 2004
+++ phpdoc/en/reference/ssh2/functions/ssh2-sftp-lstat.xml Thu Jun 1 21:53:39 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
<refentry id="function.ssh2-sftp-lstat">
<refnamediv>
@@ -34,7 +34,7 @@
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'];
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml
diff -u phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml:1.2
phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml:1.3
--- phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml:1.2 Thu Dec 30 05:35:30 2004
+++ phpdoc/en/reference/ssh2/functions/ssh2-sftp-stat.xml Thu Jun 1 21:53:39 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.1. Found in /scripts directory of phpdoc. -->
<refentry id="function.ssh2-sftp-stat">
<refnamediv>
@@ -33,7 +33,7 @@
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'];