From 025d1bab3cb0cd7081cf5fa4687e39f12e790dc9 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 30 Dec 2004 05:35:30 +0000 Subject: [PATCH] Additional Documentation: ssh2_sftp(), ssh2_sftp_stat(), ssh2_sftp_lstat() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175989 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ssh2/functions/ssh2-sftp-lstat.xml | 41 +++++++++++++++++-- reference/ssh2/functions/ssh2-sftp-stat.xml | 42 +++++++++++++++++--- reference/ssh2/functions/ssh2-sftp.xml | 36 +++++++++++++++-- 3 files changed, 106 insertions(+), 13 deletions(-) diff --git a/reference/ssh2/functions/ssh2-sftp-lstat.xml b/reference/ssh2/functions/ssh2-sftp-lstat.xml index 49ca6bac66..7241660ed2 100644 --- a/reference/ssh2/functions/ssh2-sftp-lstat.xml +++ b/reference/ssh2/functions/ssh2-sftp-lstat.xml @@ -1,5 +1,5 @@ - + @@ -16,10 +16,43 @@ stringpath - + Stats a symbolic link on the remote filesystem without - following the link. - + following the link. This function is similar to using the + lstat function with the + ssh2.sftp:// wrapper in PHP5 + and returns the same values. See the documentation for + stat for details on the values which may be returned. + + + + Stating a symbolic link via SFTP + + +]]> + + + + + See Also: + ssh2_sftp_stat, + lstat, and + stat + diff --git a/reference/ssh2/functions/ssh2-sftp-stat.xml b/reference/ssh2/functions/ssh2-sftp-stat.xml index 95178e0684..eb56599ff4 100644 --- a/reference/ssh2/functions/ssh2-sftp-stat.xml +++ b/reference/ssh2/functions/ssh2-sftp-stat.xml @@ -1,5 +1,5 @@ - + @@ -16,10 +16,42 @@ stringpath - - Stats a remote file. If the file is a symbolic link, it follows the link - and stats its target. - + + 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 PHP5 + and returns the same values. See the documentation for + stat for details on the values which may be returned. + + + + Stating a file via SFTP + + +]]> + + + + + See Also: + ssh2_sftp_lstat, + lstat, and + stat + diff --git a/reference/ssh2/functions/ssh2-sftp.xml b/reference/ssh2/functions/ssh2-sftp.xml index 90e6703faa..da41385078 100644 --- a/reference/ssh2/functions/ssh2-sftp.xml +++ b/reference/ssh2/functions/ssh2-sftp.xml @@ -1,5 +1,5 @@ - + @@ -15,9 +15,37 @@ resourcesession - - Request the SFTP subsystem from an already connected SSH2 server - + + Request the SFTP subsystem from an already connected SSH2 server. + + + + This method returns an SSH2 SFTP resource for use with + all other ssh2_sftp_*() methods and the + ssh2.sftp:// fopen wrapper. + + + + Opening a file via SFTP + + +]]> + + + + + See Also: + ssh2_scp_send, and + ssh2_scp_recv +