ftp_rmdir_ex

Example: ftp_rmdir_exFTP 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
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, "".
ITEM LISTThe 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.