Example: ftp_mkdir_exFTP Vuser Functions (FTP)

Creates a directory on the FTP server machine for a specific session.

int ftp_mkdir_ex( FTP *ppftp, char *transaction, char *path );
Function objFTP.mkdir_ex( ppftp asFTP, transaction as String, path as String ) as Integer    ` for VB Script
ppftpAn FTP session identifier.
transactionA 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_ex function creates a directory on the FTP server for the specified session.

This function is for use with multiple sessions. For global sessions, use the ftp_mkdir function, which leaves out the session identifier.

Return Values

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


All string input arguments can be passed using standard parameterization.