From b8234dab10a5ff8b0e5cab80967a3c59d5f26ca8 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 30 Dec 2004 19:27:07 +0000 Subject: [PATCH] Additional Documentation for: ssh2_sftp_mkdir() ssh2_sftp_rmdir() ssh2_sftp_readlink() ssh2_sftp_symlink() ssh2_sftp_realpath() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@176090 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/ssh2/functions/ssh2-sftp-mkdir.xml | 35 ++++++++++++++++--- .../ssh2/functions/ssh2-sftp-readlink.xml | 28 +++++++++++++-- .../ssh2/functions/ssh2-sftp-realpath.xml | 29 +++++++++++++-- reference/ssh2/functions/ssh2-sftp-rmdir.xml | 35 ++++++++++++++++--- .../ssh2/functions/ssh2-sftp-symlink.xml | 30 +++++++++++++--- 5 files changed, 138 insertions(+), 19 deletions(-) diff --git a/reference/ssh2/functions/ssh2-sftp-mkdir.xml b/reference/ssh2/functions/ssh2-sftp-mkdir.xml index ef8f2c19fb..ffc0b6783d 100644 --- a/reference/ssh2/functions/ssh2-sftp-mkdir.xml +++ b/reference/ssh2/functions/ssh2-sftp-mkdir.xml @@ -1,5 +1,5 @@ - + @@ -18,9 +18,36 @@ boolrecursive - - Creates a directory on the remote file server - + + Creates a directory on the remote file server with permissions set to + mode. If recursive is &true; + any parent directories required for dirname will + be automatically created as well. + This function is similar to using mkdir with the + ssh2.sftp:// wrapper. + + + + Creating a directory on a remote server + + +]]> + + + + + See Also: + mkdir, and + ssh2_sftp_rmdir + diff --git a/reference/ssh2/functions/ssh2-sftp-readlink.xml b/reference/ssh2/functions/ssh2-sftp-readlink.xml index 418aeca2ed..e5cdb6b467 100644 --- a/reference/ssh2/functions/ssh2-sftp-readlink.xml +++ b/reference/ssh2/functions/ssh2-sftp-readlink.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,31 @@ stringlink - + Returns the target of a symbolic link. - + + + + Reading a symbolic link + + +]]> + + + + + See Also: + readlink, and + ssh2_sftp_symlink + diff --git a/reference/ssh2/functions/ssh2-sftp-realpath.xml b/reference/ssh2/functions/ssh2-sftp-realpath.xml index 514e8c7d29..362070b034 100644 --- a/reference/ssh2/functions/ssh2-sftp-realpath.xml +++ b/reference/ssh2/functions/ssh2-sftp-realpath.xml @@ -1,5 +1,5 @@ - + @@ -16,10 +16,33 @@ stringfilename - + Translates filename into the effective real path on the remote filesystem. - + + + + Resolving a pathname + + +]]> + + + + + See Also: + realpath, and + ssh2_sftp_symlink + ssh2_sftp_readlink + diff --git a/reference/ssh2/functions/ssh2-sftp-rmdir.xml b/reference/ssh2/functions/ssh2-sftp-rmdir.xml index 0984cf3504..3e8c8aafb9 100644 --- a/reference/ssh2/functions/ssh2-sftp-rmdir.xml +++ b/reference/ssh2/functions/ssh2-sftp-rmdir.xml @@ -1,5 +1,5 @@ - + @@ -13,12 +13,37 @@ boolssh2_sftp_rmdir resourcesftp - stringfilename + stringdirname - - Removes a directory from the remote server's filesystem - + + Removes a directory from the remote file server. + This function is similar to using rmdir with the + ssh2.sftp:// wrapper. + + + + Creating a directory on a remote server + + +]]> + + + + + See Also: + rmdir, and + ssh2_sftp_mkdir + + diff --git a/reference/ssh2/functions/ssh2-sftp-symlink.xml b/reference/ssh2/functions/ssh2-sftp-symlink.xml index 06d3e31155..c6ce65bdd7 100644 --- a/reference/ssh2/functions/ssh2-sftp-symlink.xml +++ b/reference/ssh2/functions/ssh2-sftp-symlink.xml @@ -1,5 +1,5 @@ - + @@ -17,9 +17,31 @@ stringlink - - Creates a symbolic link on the remote filesystem - + + Creates a symbolic link named link on the remote filesystem + pointing to target. + + + + Creating a symbolic link + + +]]> + + + + + See Also: + symlink, and + ssh2_sftp_readlink +