PHP ftp_cdup() Function

PHP FTP Reference : Output current directory name, then change to parent directory

Definition and Usage

The ftp_cdup() function changes to the parent directory on the FTP server.

Syntax

ftp_cdup(ftp_conn);

Parameter Values

Parameter Description
ftp_conn Required. Specifies the FTP connection to use

Technical Details

Return Value:  TRUE on success, FALSE on failure
PHP Version: 4+

❮ PHP FTP Reference