ftp_chdir

 bool ftp_chdir ( resource $ftp_stream , string $directory ) 

説明

Changes the current directory to the specified one.

戻り値

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