create_directory
create_directory($server,$dir_name); - create a folder on FTP
The function accepts parameters as input:
$server – address of an already connected FTP connection$dir_name – name of the folder to create
After testing, the function returns the result of its work to the script :
true – successfully createdfalse – errors occurred during creation