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.