Home > PHP > Function > FTP > ftp_cdup()

ftp_cdup()

ftp_cdup - Changes to the parent directory

Syntax

bool ftp_cdup (resource $ftp_stream)

Arguments

  • ftp_stream - The link identifier of the FTP connection.

Description

Changes to the parent directory.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.