Share this page

# ftp_rmdir

Example: ftp_rmdir | FTP Vuser Functions (FTP)

Removes a directory on the FTP server.

    int ftp_rmdir( const char *transaction, const char *path );

    int objFTP.rmdir( 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 of the directory to remove, in the following format:`"PATH=full path"`

The ftp_rmdir function removes a directory on the FTP server.

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

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: