Gets the current working directory.
Source
public function cwd() {
$cwd = $this->ftp->pwd();
if ( ! is_string( $cwd ) ) {
return false;
}
if ( $cwd ) {
$cwd = trailingslashit( $cwd );
}
return $cwd;
}
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.