CI_FTP::changedir()

changedir($path[, $suppress_debug = FALSE])

Parameters:
  • $path (string) – Directory path
  • $suppress_debug (bool) – Whether to turn off debug messages for this command
Returns:

TRUE on success, FALSE on failure

Return type:

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.

doc_CodeIgniter
2016-10-15 16:31:34
Comments
Leave a Comment

Please login to continue.