PHP ftp_mkdir() May 14, 2012 Pramod T P It creates a directory on the FTP server Example <?php $ftpId = ftp_connect(‘ftp.phpcodez.com’); $login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’); ftp_mkdir($ftpId, “tets”) or die(“Failed”); ftp_close($ftpId); ?>