ftp_cdup
PHP 4, PHP 5, PHP 7, PHP 8
ftp_cdup - Changes to the parent directory
Manual
ftp_cdup(
FTP\Connection$ftp ): bool
Changes to the parent directory.
Parameters
- ftp
-
An FTP\Connection instance.
Return Values
Returns true on success or false on failure.
Changelog
Version | Description |
8.1.0 | The ftp parameter expects an FTP\Connection instance now; previously, a resource was expected. |