FTP Vuser Functions (FTP) > Alphabetical List of Functions > ftp_mkdir

ftp_mkdir

Example: ftp_mkdir FTP Vuser Functions (FTP)

Creates a directory on the FTP server machine

int ftp_mkdir( char *transaction, char *path );

Function objFTP.mkdir( transaction as String, path as String ) as Integer    ` for VB Script

transaction A transaction name for this step. To instruct VuGen not to create a transaction for this step, use a NULL string, "".
PATH The PATH to create: "PATH=relative server path".
The path is relative to the root directory of the FTP server.

The ftp_mkdir function creates a directory on the FTP server.

This function is for use with global sessions. For multiple sessions, use the ftp_mkdir_ex function, which allows you to specify a session identifier.

Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

Parameterization

The following argument(s) can be parameterized with standard parameterization: List of Attributes