Share this page

# ftp_mkdir_ex

Example: ftp_mkdir_ex | FTP 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

ppftp | An FTP session identifier.
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_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.

## Parameterization

All string input arguments can be passed using standard parameterization.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: