summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source')
-rw-r--r--user_guide_src/source/libraries/ftp.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/ftp.rst b/user_guide_src/source/libraries/ftp.rst
index 1b1a45e36..c587869db 100644
--- a/user_guide_src/source/libraries/ftp.rst
+++ b/user_guide_src/source/libraries/ftp.rst
@@ -273,6 +273,17 @@ Class Reference
// Chmod "bar" to 777
$this->ftp->chmod('/public_html/foo/bar/', DIR_WRITE_MODE);
+ .. method:: changedir($path[, $suppress_debug = FALSE])
+
+ :param string $path: Directory path
+ :param bool $suppress_debug: Whether to turn off debug messages for this command
+ :returns: bool
+
+ Changes the current working directory to the specified path.
+
+ The ``$suppress_debug`` parameter is useful in case you want to use this method
+ as an ``is_dir()`` alternative for FTP.
+
.. method:: close()
:returns: bool