ftp_chdir

Example

 bool ftp_chdir ( resource $ftp_stream , string $directory ) 

Description

Changes the current directory to the specified one.

Return Values

Returns TRUE on success or FALSE on failure. If changing directory fails, PHP will also throw a warning.