Share this page

# ftp_mkdir_ex

FTP 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.

## Example

In the following example, the ftp_mkdir_ex function creates the directory pub/test for the ftp session.

    // Create a directory called "test"

    ftp_mkdir_ex(&ftp, "Ftp_Make_Directory", "PATH=pub/test");

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