ftp_chdir Changes the current directory on a FTP server &reftitle.description; boolftp_chdir resourceftp_stream stringdirectory Changes the current directory to the specified one. &reftitle.parameters; ftp_stream The link identifier of the FTP connection. directory The target directory. &reftitle.returnvalues; &return.success; If changing directory fails, PHP will also throw a warning. &reftitle.examples; <function>ftp_chdir</function> example ]]> &reftitle.seealso; ftp_cdup ftp_pwd