Internet Direct (Indy) Version 9.0.1 Beta
TIdFTP.MakeDir
Create a directory on the FTP server.

procedure MakeDir(const ADirName: string);
Parameters
const ADirName: string
Directory to create.

Description
MakeDir is a procedure that requests creation of a directory on the FTP server. Some FTP servers may not allow the user to create new directories.

ADirName is a String that identifies the directory to be created on the FTP server. ADirName must conform to the file naming conventions for the FTP server, or an FTP error response code and message will be returned.