Share this page

# ftp_logout_ex

FTP Functions (ftp)

Performs a logout from an FTP server for a specific session.

    int ftp_logout_ex(FTP *ppftp );

    Function objFTP.logout_ex( ppftp as FTP ) as Integer      `for VB Script

ppftp | An FTP session identifier.

The ftp_logout_ex function logs out of an FTP server for a specific session.

This function is for use with multiple sessions. For global or single sessions, use the ftp_logout function, which leaves out the session identifier.

## Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

## Parameterization

Standard parameterization is not available for this function.

## Example

In the following example, the ftp_logout_ex function logs out of the FTP server ftp.merc-int.com for the session ftp.

Copy code

        FTP pFTP;     // Logon to the FTP server     ftp_logon_ex (&pFTP, "FTP", "URL=ftp://ftp.abc.com",LAST );     // Logout from the FTP server     ftp_logout_ex (&pFTP);

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