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 +