Share this page

# ftp_rmdir_ex

Example: ftp_rmdir_ex | FTP Vuser Functions (FTP)

Removes a directory on the FTP server for a specific session.

    int ftp_rmdir_ex( FTP *ppftp, const char *transaction, const char *path );

    int objFTP.rmdir_ex( ppftp as FTP, 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, "".
ITEM LIST | The path of the directory to remove, in the following format:`"PATH=full path"`

The ftp_rmdir_ex function removes a directory on the FTP server for the specified session.

This function is for use with multiple sessions. For global sessions, use the ftp_rmdir 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: